Skip to content

Commit

Permalink
Correct go cache paths
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen committed Oct 18, 2024
1 parent 8c26aa2 commit 14036e5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
uses: actions/cache@v4
with:
path: |
vendor
key: go-deps-${{ runner.os }}-primes-${{ hashFiles('go.sum') }}
~/go/pkg/mod
~/.cache/go-build
key: go-deps-${{ runner.os }}-${{ hashFiles('go.sum') }}
restore-keys: |
go-deps-${{ runner.os }}
Expand All @@ -44,8 +45,9 @@ jobs:
uses: actions/cache@v4
with:
path: |
vendor
key: go-deps-${{ runner.os }}-primes-${{ hashFiles('go.sum') }}
~/go/pkg/mod
~/.cache/go-build
key: go-deps-${{ runner.os }}-${{ hashFiles('go.sum') }}
restore-keys: |
go-deps-${{ runner.os }}
Expand Down Expand Up @@ -73,8 +75,9 @@ jobs:
uses: actions/cache@v4
with:
path: |
vendor
key: go-deps-${{ runner.os }}-primes-${{ hashFiles('go.sum') }}
~/go/pkg/mod
~/.cache/go-build
key: go-deps-${{ runner.os }}-${{ hashFiles('go.sum') }}
restore-keys: |
go-deps-${{ runner.os }}
Expand Down Expand Up @@ -122,8 +125,9 @@ jobs:
uses: actions/cache@v4
with:
path: |
vendor
key: go-deps-${{ runner.os }}-primes-${{ hashFiles('go.sum') }}
~/go/pkg/mod
~/.cache/go-build
key: go-deps-${{ runner.os }}-${{ hashFiles('go.sum') }}
restore-keys: |
go-deps-${{ runner.os }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/grafana-foundation-sdk-diff-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:
uses: actions/cache@v4
with:
path: |
vendor
key: go-deps-${{ runner.os }}-primes-${{ hashFiles('go.sum') }}
~/go/pkg/mod
~/.cache/go-build
key: go-deps-${{ runner.os }}-${{ hashFiles('go.sum') }}
restore-keys: |
go-deps-${{ runner.os }}
Expand Down

0 comments on commit 14036e5

Please sign in to comment.