Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update golangci-lint to latest available version v1.59.0 #394

Merged
merged 1 commit into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading