diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 761c4d5..4f20f5c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -65,7 +65,7 @@ jobs: go-version: "1.27.2" # update together with dev.dockerfile - uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: - version: "v2.14.0" # update together with dev.dockerfile + version: "v2.15.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.14.0" # update together with dev.dockerfile + version: "v2.15.0" # update together with dev.dockerfile check-tidy: name: go mod tidy diff --git a/.golangci.yml b/.golangci.yml index 5e5e418..1a784c1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -232,7 +232,7 @@ linters: # Default: [ switch ] check: - switch - - map + - mapliteral exhaustruct_v5: # List of regular expressions to match type names that should be skipped from checking. diff --git a/dev.dockerfile b/dev.dockerfile index 30132eb..2554c30 100644 --- a/dev.dockerfile +++ b/dev.dockerfile @@ -2,7 +2,7 @@ FROM golang:1.27.2 AS go # update together with .github/workflows/ci.yml -FROM golangci/golangci-lint:v2.14.0 AS linter +FROM golangci/golangci-lint:v2.15.0 AS linter FROM go AS dev ENV INSIDE_DEV_CONTAINER=1