diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e5d1ca0..d1fa2da 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,14 +20,14 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: '^1.18' + go-version: '^1.19' - name: Run golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.45.1 + version: v1.49.0 only-new-issues: true - args: -c ./.golangci.yml + args: -c ./.golangci.yml --timeout 15m - name: Get dependencies run: go mod download @@ -45,7 +45,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: '^1.18' + go-version: '^1.19' - name: Get dependencies run: go mod download diff --git a/.golangci.yml b/.golangci.yml index 6c348ac..8202fea 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -8,6 +8,7 @@ linters: - contextcheck - cyclop - exhaustivestruct + - exhaustruct - forbidigo - funlen - gochecknoglobals @@ -17,6 +18,7 @@ linters: - goerr113 - gomnd - ifshort + - interfacebloat - interfacer - ireturn - lll @@ -24,6 +26,9 @@ linters: - nilnil - nlreturn - noctx + - nolintlint + - nonamedreturns + - nosnakecase - revive - tagliatelle - testpackage @@ -31,7 +36,6 @@ linters: - whitespace - wrapcheck - wsl - - nolintlint linters-settings: revive: