Skip to content

Commit

Permalink
Merge pull request #394 from invidian/update-linter
Browse files Browse the repository at this point in the history
Update golangci-lint to latest available version v1.59.0
  • Loading branch information
invidian authored May 27, 2024
2 parents 33234aa + 7a5d3e4 commit c02b55e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container: golangci/golangci-lint:v1.58.2
container: golangci/golangci-lint:v1.59.0
steps:
- uses: actions/cache@v2
with:
Expand Down
5 changes: 1 addition & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ linters:
# We are not that strict with imports to have a whitelist.
- depguard
# To be able to make use of Go zero-value feature.
- exhaustivestruct
- exhaustruct
# Triggers on TODOs in the code, which is fine to put.
- godox
Expand All @@ -90,9 +89,6 @@ linters:
# Disabled until tests are split and moved to the right file names.
- testpackage
# This linter has been deprecated.
- golint
- interfacer
- maligned
- copyloopvar
- intrange
enable:
Expand Down Expand Up @@ -120,6 +116,7 @@ linters:
- forcetypeassert
- funlen
- gci
- ginkgolinter
- gocheckcompilerdirectives
- gochecknoglobals
- gochecknoinits
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GORUN=$(GOCMD) run
GOBUILD=$(GOCMD) build -v -ldflags $(LD_FLAGS) -trimpath

CC_TEST_REPORTER_ID=6e107e510c5479f40b0ce9166a254f3f1ee0bc547b3e48281bada1a5a32bb56d
GOLANGCI_LINT_VERSION=v1.58.2
GOLANGCI_LINT_VERSION=v1.59.0
BIN_PATH=$$HOME/bin

GO_PACKAGES=./...
Expand Down

0 comments on commit c02b55e

Please sign in to comment.