diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 9f1cddb..294323f 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -14,10 +14,10 @@ jobs: uses: actions/checkout@master - name: golangci-lint - uses: golangci/golangci-lint-action@master + uses: golangci/golangci-lint-action@v6 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: latest + version: v1.59.1 # Optional: working directory, useful for monorepos # working-directory: somedir diff --git a/.golangci.yml b/.golangci.yml index 7de2a5f..7fed191 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,10 +18,11 @@ linters: fast: false enable: - bodyclose + - copyloopvar #- depguard - dogsled - errcheck - - exportloopref + #- exportloopref - exhaustive #- funlen #- goconst