Skip to content

Commit

Permalink
Bump golangci-lint action to v4 (#287)
Browse files Browse the repository at this point in the history
Bump the `golangci-lint` action to `v4` and stop using the cache from
`setup-go` as `golangci-lint` manages its own cache.

This removes all warnings from the summary page from workflow runs.
  • Loading branch information
andrew-farries committed Feb 26, 2024
1 parent b4e3044 commit 51de6d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: false

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
# Require: The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
Expand Down

0 comments on commit 51de6d4

Please sign in to comment.