Skip to content

Commit

Permalink
ci: re-add caching for golangci-lint job
Browse files Browse the repository at this point in the history
Since v5, golangci-lint-action relies on actions/setup-go for
caching, so remove "cache: false" from actions/setup-go to re-enable
caching.

Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed Oct 17, 2024
1 parent 992e7ce commit 2fa07c5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
cache: false # golangci-lint-action does its own caching
- uses: golangci/golangci-lint-action@v6
with:
version: v1.61
Expand Down Expand Up @@ -63,7 +62,6 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
cache: false # golangci-lint-action does its own caching
- uses: golangci/golangci-lint-action@v6
with:
version: v1.61
Expand Down

0 comments on commit 2fa07c5

Please sign in to comment.