Use different cache keys for different jobs (#2091)

Otherwise all those jobs compete for the same key and build cache ends
up disabled for ubuntu tests.
This commit is contained in:
Denis Bilenko 2025-01-07 17:13:12 +01:00 committed by GitHub
parent e2cd8c2f34
commit e6552231eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -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
@ -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: |