Skip to content

Commit

Permalink
ci: Update golang ci-lint to v1.51.2
Browse files Browse the repository at this point in the history
Also, remove the deprecated linters from the .golangci.yml config.

Signed-off-by: David Porter <david@porter.me>
  • Loading branch information
bobbypage committed Jun 16, 2023
1 parent dec4430 commit 6416880
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ run:
linters-settings:
govet:
enable-all: true
golint:
min-confidence: 0
gofmt:
simplify: true
goimports:
Expand All @@ -17,12 +15,8 @@ linters:
- staticcheck
- unused
- gosimple
- structcheck
- varcheck
- ineffassign
- deadcode
- typecheck
- golint
- gofmt
- goimports
issues:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

GO := go
GOLANGCI_VER := v1.48.0
GOLANGCI_VER := v1.51.2
GO_TEST ?= $(GO) test $(or $(GO_FLAGS),-race)
arch ?= $(shell go env GOARCH)

Expand Down

0 comments on commit 6416880

Please sign in to comment.