Skip to content

Commit

Permalink
Update caching key in GitHub Actions workflow
Browse files Browse the repository at this point in the history
Because of the matrix use, the cache key was colliding.
  • Loading branch information
Tomas Prochazka committed Oct 1, 2023
1 parent 5823e35 commit 47251be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}}-${{ matrix.go-version }}-${{ matrix.postgres-version }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
Expand Down

0 comments on commit 47251be

Please sign in to comment.