Skip to content

Commit

Permalink
update golangci-lint (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored Jan 3, 2024
1 parent fb615fa commit 63fbcda
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: golangci/golangci-lint-action@v3
with:
version: v1.55.0
version: v1.55.2

go-mod-tidy:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
linters:
enable:
- asciicheck
- bidichk
- bodyclose
- dupl
- errorlint
- exportloopref
- gochecknoinits
- gocritic
Expand All @@ -13,6 +16,7 @@ linters:
- prealloc
- revive
- unconvert
- tparallel
- wastedassign
- whitespace

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BASE_IMAGE = golang:1.21-alpine3.18
LINT_IMAGE = golangci/golangci-lint:v1.55.0
LINT_IMAGE = golangci/golangci-lint:v1.55.2

.PHONY: $(shell ls)

Expand Down

0 comments on commit 63fbcda

Please sign in to comment.