diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ab71e2c..38e020a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -33,9 +33,11 @@ jobs: run: make build - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: version: latest + skip-build-cache: true + skip-pkg-cache: true - name: Test run: make test @@ -51,19 +53,3 @@ jobs: flags: unittests name: codecov-umbrella fail_ci_if_error: true - - golangci-lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-go@v5 - with: - go-version: stable - - - name: lint - uses: golangci/golangci-lint-action@v4 - with: - version: latest - skip-build-cache: true - skip-pkg-cache: true diff --git a/.golangci.yml b/.golangci.yml index 8b6dc7b..5be8aa4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -3,16 +3,6 @@ linters: enable-all: true disable: - lll - - golint - - deadcode - - maligned - - scopelint - - nosnakecase - - exhaustivestruct - - ifshort - - varcheck - - structcheck - - interfacer - gomodguard - gochecknoglobals - paralleltest @@ -26,7 +16,7 @@ linters: - gofumpt - nonamedreturns - cyclop - - goerr113 + - err113 - perfsprint - tagliatelle - wrapcheck