Skip to content

Commit

Permalink
chore: upgrade golang-cli lint version
Browse files Browse the repository at this point in the history
  • Loading branch information
ademekici committed Nov 22, 2023
1 parent 2c44a99 commit 57df549
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50
version: v1.52.2
args: -c .golangci.yml --timeout=5m -v

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ linters:
- whitespace

service:
golangci-lint-version: 1.50.x # use the fixed version to not introduce new linters unexpectedly
golangci-lint-version: 1.52.2 # use the fixed version to not introduce new linters unexpectedly
prepare:
- echo "here I can run custom commands, but no preparation needed for this repo"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default: init

init:
go mod download
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.49.0
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2
go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@latest

clean:
Expand Down

0 comments on commit 57df549

Please sign in to comment.