Skip to content

Commit

Permalink
Use different cache keys for different jobs (#2091)
Browse files Browse the repository at this point in the history
Otherwise all those jobs compete for the same key and build cache ends
up disabled for ubuntu tests.
  • Loading branch information
denik authored Jan 7, 2025
1 parent e2cd8c2 commit e655223
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: 1.23.4
# Use different schema from regular job, to avoid overwriting the same key
cache-dependency-path: |
go.sum
.golangci.yaml
- name: Run go mod tidy
run: |
go mod tidy
Expand All @@ -92,6 +96,10 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.23.4
# Use different schema from regular job, to avoid overwriting the same key
cache-dependency-path: |
go.sum
bundle/internal/schema/*.*
- name: Verify that the schema is up to date
run: |
Expand Down

0 comments on commit e655223

Please sign in to comment.