Skip to content

Commit

Permalink
Pin linter version to v1.61.0 in the build workflow
Browse files Browse the repository at this point in the history
By default, the linter uses the latest version, which is currently v1.62.0.
In v1.62.0, a new `max-public-structs` linter was added.
Significant changes are required in our codebase to enable this linter.

This PR also aligns the linter version with the one specified in the Makefile target.
  • Loading branch information
eromanova committed Nov 11, 2024
1 parent 55bf573 commit 318cfb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61.0
args: --timeout 10m0s
skip-cache: true
- name: Verify all generated pieces are up-to-date
run: make generate-all && git add -N . && git diff --exit-code
- name: Unit tests
Expand Down

0 comments on commit 318cfb1

Please sign in to comment.