Skip to content

Commit

Permalink
chore(ci): re-enable gocache in golangci-lint step
Browse files Browse the repository at this point in the history
Since v5.0.0 golangci-lint-action has now removed their go cache, so we
can re-enable the built-in setup-go one.

Also bump the golangci-lint version to latest v1.57.2

Signed-off-by: Dominic Evans <[email protected]>
Signed-off-by: Richard Artoul <[email protected]>
  • Loading branch information
dnwe authored and richardartoul committed Jul 19, 2024
1 parent fbc6e9e commit 1b9efa5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
cache: false # golangci-lint-action has its own cache
go-version: ${{ matrix.go-version }}
- name: golangci-lint
env:
GOFLAGS: -tags=functional
uses: golangci/golangci-lint-action@82d40c283aeb1f2b6595839195e95c2d6a49081b # v5.0.0
with:
version: v1.56.1
version: v1.57.2
test:
name: Unit Testing with Go ${{ matrix.go-version }}
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1b9efa5

Please sign in to comment.