diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52ad704..94af250 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,7 @@ jobs: go-version: "1.27.1" # update together with dev.dockerfile - uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: - version: "v2.13.2" # update together with dev.dockerfile + version: "v2.14.0" # update together with dev.dockerfile lint-latest-deps: runs-on: ubuntu-latest @@ -77,7 +77,7 @@ jobs: - run: make apply-latest-deps - uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: - version: "v2.13.2" # update together with dev.dockerfile + version: "v2.14.0" # update together with dev.dockerfile check-tidy: name: go mod tidy diff --git a/.golangci.yml b/.golangci.yml index 2ec1efa..4c6a2bd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -265,6 +265,9 @@ linters: # Allows empty structures in return statements. # Default: false allow-empty-returns: true + # Allow empty literals the blank identifier receives. + # Default: false + allow-empty-blank-assignments: true funcorder: # Checks if the exported methods of a structure are placed before the non-exported ones. diff --git a/dev.dockerfile b/dev.dockerfile index fbd11b7..29976c4 100644 --- a/dev.dockerfile +++ b/dev.dockerfile @@ -2,7 +2,7 @@ FROM golang:1.27.1 AS go # update together with .github/workflows/ci.yml -FROM golangci/golangci-lint:v2.13.2 AS linter +FROM golangci/golangci-lint:v2.14.0 AS linter FROM go AS dev ENV INSIDE_DEV_CONTAINER=1