GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — attempt cache builds · strager/opencode@259858d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • build.yml
    • release.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/build.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/build.yml
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,22 @@ jobs:
2525
- uses: actions/setup-go@v5
2626
with:
2727
go-version: ">=1.23.2"
28+
cache: true
29+
cache-dependency-path: go.sum
2830

2931
- run: go mod download
32+
33+
- name: Cache GoReleaser build
34+
uses: actions/cache@v3
35+
with:
36+
path: |
37+
~/.cache/go-build
38+
dist/
39+
.goreleaser.cache
40+
key: ${{ runner.os }}-go-build-${{ hashFiles('**/*.go') }}-${{ hashFiles('go.sum') }}
41+
restore-keys: |
42+
${{ runner.os }}-go-build-
43+
3044
- uses: goreleaser/goreleaser-action@v6
3145
with:
3246
distribution: goreleaser
Collapse file

‎.github/workflows/release.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,22 @@ jobs:
2525
- uses: actions/setup-go@v5
2626
with:
2727
go-version: ">=1.23.2"
28+
cache: true
29+
cache-dependency-path: go.sum
2830

2931
- run: go mod download
32+
33+
- name: Restore GoReleaser build cache
34+
uses: actions/cache@v3
35+
with:
36+
path: |
37+
~/.cache/go-build
38+
dist/
39+
.goreleaser.cache
40+
key: ${{ runner.os }}-go-build-${{ hashFiles('**/*.go') }}-${{ hashFiles('go.sum') }}
41+
restore-keys: |
42+
${{ runner.os }}-go-build-
43+
3044
- uses: goreleaser/goreleaser-action@v6
3145
with:
3246
distribution: goreleaser

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.