Skip to content

Commit ea19a90

Browse files
committed
Cache dependencies in CI workflow
1 parent fb8aa68 commit ea19a90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
cache: false
4343
- name: Download Go modules
4444
run: go mod download
45+
- name: Fix permissions
46+
run: chmod -R 0755 ~/go/pkg/mod ~/.cache/go-build
4547
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
4648
with:
4749
path: |
@@ -604,7 +606,7 @@ jobs:
604606
with:
605607
go-version-file: 'go.mod'
606608
cache: false
607-
609+
608610
- uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
609611
with:
610612
path: |

0 commit comments

Comments
 (0)