From d021b8f40bd6c9856586d115f0d6b1dec2a58c1f Mon Sep 17 00:00:00 2001 From: Samuel Littley Date: Tue, 29 Oct 2024 13:35:43 +0000 Subject: [PATCH] Update golangci-lint in the hopes that it will work (#131) --- .github/workflows/golangci-lint.yml | 5 ++--- .golangci.yml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) 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)