diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d892770..8fdcc0c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,7 +4,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: golangci/golangci-lint-action@v2 + - uses: actions/checkout@v3 + - uses: golangci/golangci-lint-action@v3 with: - version: v1.43.0 + version: v1.49.0 diff --git a/.golangci.yml b/.golangci.yml index 8e8396f..b3e3b39 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -9,4 +9,19 @@ linters: - exhaustivestruct - paralleltest - nolintlint + - cyclop - varnamelen + - ireturn + - nonamedreturns + - exhaustruct + + # Deprecated + - maligned + - scopelint + - golint + - interfacer + - structcheck + - varcheck + - nosnakecase + - ifshort + - deadcode