diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index c69b774..cf77dfb 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -14,9 +14,8 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '^1.21' + go-version: "^1.23" - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: - version: v1.57.2 - + version: v1.61.0 diff --git a/.golangci.yml b/.golangci.yml index 6d41bd2..ca7673e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,7 +12,7 @@ linters: - unused - dogsled - dupl - - exportloopref + - copyloopvar - gci - gofmt - gosimple @@ -30,10 +30,9 @@ linters: - wastedassign - whitespace - errcheck - - exportloopref linters-settings: gci: sections: - standard # Captures all standard packages if they do not match another section. - default # Contains all imports that could not be matched to another section type. - - prefix(github.com/please-build/puku) \ No newline at end of file + - prefix(github.com/please-build/puku)