mirror of https://github.com/databricks/cli.git
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:
parent
e2cd8c2f34
commit
e6552231eb
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue