Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
fix: Downgrade golangci-lint as it breaks in CI environment
Browse files Browse the repository at this point in the history
Also, disable musttag as we don't follow it's rules.

Signed-off-by: Alexander Kurbatov <sir.alkurbatov@yandex.ru>
  • Loading branch information
alkurbatov committed Apr 17, 2023
1 parent 7cc41ac commit 467fe3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/staticlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
version: v1.51.1

- name: Build staticlint
run: make staticlint
Expand Down
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ linters:
- interfacer
- ireturn
- maligned
- musttag
- nlreturn
- nosnakecase
- rowserrcheck
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ repos:
exclude: ^docs/api

- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
rev: v1.51.1
hooks:
- id: golangci-lint

0 comments on commit 467fe3a

Please sign in to comment.