Skip to content

Commit

Permalink
.github: disable cache for actions/setup-go@v4
Browse files Browse the repository at this point in the history
actions/setup-go#368 and
opencontainers/runc#3820 (comment)
discuss issues with the cache key for actions/setup-go@v4.  Rather than
reverting the upgrade to v4 (per discussion in
containerd#8372), disable caching
explicitly.

Signed-off-by: Samuel Karp <samuelkarp@google.com>
  • Loading branch information
samuelkarp committed May 8, 2023
1 parent 98f48d4 commit e60a179
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache: false # see actions/setup-go#368

- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
Expand All @@ -61,6 +62,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache: false # see actions/setup-go#368

- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -94,6 +96,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache: false # see actions/setup-go#368

- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -126,6 +129,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache: false # see actions/setup-go#368
- uses: actions/checkout@v3
- run: go install github.com/cpuguy83/go-md2man/v2@v2.0.2
- run: make man
Expand Down Expand Up @@ -159,6 +163,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache: false # see actions/setup-go#368
- uses: actions/checkout@v3
- run: |
set -e -x
Expand Down Expand Up @@ -215,6 +220,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: false # see actions/setup-go#368

- uses: actions/checkout@v3

Expand Down Expand Up @@ -249,6 +255,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache: false # see actions/setup-go#368

- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -404,6 +411,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache: false # see actions/setup-go#368

- uses: actions/checkout@v3

Expand Down Expand Up @@ -528,6 +536,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache: false # see actions/setup-go#368
- uses: actions/checkout@v3
- run: script/setup/install-gotestsum
- run: script/setup/install-teststat
Expand Down

0 comments on commit e60a179

Please sign in to comment.