Skip to content

Commit 85241a4

Browse files
committed
Added Go build cache to release workflow
1 parent d2fcbc9 commit 85241a4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ jobs:
2222
go-version: '1.24.5'
2323
cache: true
2424

25+
- name: Cache Go build
26+
uses: actions/cache@v4
27+
with:
28+
path: |
29+
~/.cache/go-build
30+
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
31+
restore-keys: |
32+
${{ runner.os }}-go-build-
33+
2534
- name: Run tests
2635
run: |
2736
go test ./...

0 commit comments

Comments
 (0)