Merge pull request #8957 from matthewhughes934/fix-go-ci-cache-contention

Fix cache contention in Go CI jobs
This commit is contained in:
William Martin 2024-04-15 12:29:41 +02:00 committed by GitHub
commit 05b37e70b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 16 deletions

View file

@ -21,14 +21,6 @@ jobs:
with:
go-version-file: 'go.mod'
- name: Restore Go modules cache
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: go-${{ runner.os }}-${{ hashFiles('go.mod') }}
restore-keys: |
go-${{ runner.os }}-
- name: Download dependencies
run: go mod download

View file

@ -27,14 +27,6 @@ jobs:
with:
go-version-file: 'go.mod'
- name: Restore Go modules cache
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: go-${{ runner.os }}-${{ hashFiles('go.mod') }}
restore-keys: |
go-${{ runner.os }}-
- name: Verify dependencies
run: |
go mod verify