diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index a3eb74b..8a82fcc 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -29,4 +29,3 @@ jobs: uses: golangci/golangci-lint-action@v3 with: version: v1.53 - args: --timeout=5m diff --git a/.golangci.yml b/.golangci.yml index 3488213..23d25f5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,13 @@ run: skip-dirs: - examples/*.go + timeout: "5m" + # will not run golangci-lint against *_test.go + tests: false +issues: + exclude-rules: + # excluding error checks from all the .go files + - path: ./*.go + linters: + - errcheck +