Skip to content

Commit

Permalink
Merge pull request #264 from maratori/dependabot/docker/golangci/gola…
Browse files Browse the repository at this point in the history
…ngci-lint-v1.63.1

Bump golangci/golangci-lint from v1.62.2 to v1.63.1
  • Loading branch information
maratori authored Jan 2, 2025
2 parents e25a8e1 + 2d3fafa commit 87d4abb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
go-version: "1.23.4" # update together with Dockerfile.dev
- uses: golangci/golangci-lint-action@v6
with:
version: "v1.62.2" # update together with Dockerfile.dev
version: "v1.63.1" # update together with Dockerfile.dev

check-tidy:
name: go mod tidy
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ linters:
- errname # checks that sentinel errors are prefixed with the Err and error types are suffixed with the Error
- errorlint # finds code that will cause problems with the error wrapping scheme introduced in Go 1.13
- exhaustive # checks exhaustiveness of enum switch statements
- exptostd # detects functions from golang.org/x/exp/ that can be replaced by std functions
- fatcontext # detects nested contexts in loops
- forbidigo # forbids identifiers
- funlen # tool for detection of long functions
Expand Down Expand Up @@ -266,6 +267,7 @@ linters:
- nakedret # finds naked returns in functions greater than a specified function length
- nestif # reports deeply nested if statements
- nilerr # finds the code that returns nil even if it checks that the error is not nil
- nilnesserr # reports that it checks for err != nil, but it returns a different nil value error (powered by nilness and nilerr)
- nilnil # checks that there is no simultaneous return of nil error and an invalid value
- noctx # finds sending http request without context.Context
- nolintlint # reports ill-formed or insufficient nolint directives
Expand All @@ -291,6 +293,7 @@ linters:
- unconvert # removes unnecessary type conversions
- unparam # reports unused function parameters
- usestdlibvars # detects the possibility to use variables/constants from the Go standard library
- usetesting # reports uses of functions with replacement inside the testing package
- wastedassign # finds wasted assignment statements
- whitespace # detects leading and trailing whitespace

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM golang:1.23.4 AS go

# update together with .github/workflows/ci.yml
FROM golangci/golangci-lint:v1.62.2 AS linter
FROM golangci/golangci-lint:v1.63.1 AS linter

FROM go AS dev
ENV INSIDE_DEV_CONTAINER 1
Expand Down

0 comments on commit 87d4abb

Please sign in to comment.