diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92258ed744a..834f5ea4129 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,11 +26,12 @@ jobs: - name: Build relic run: make crypto/relic/build - name: Run golangci-lint - uses: golangci/golangci-lint-action@v2.3.0 + uses: golangci/golangci-lint-action@v2 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. version: v1.41 args: -v --build-tags relic + skip-pkg-cache: true - name: Run ShellCheck uses: ludeeus/action-shellcheck@master with: diff --git a/.golangci.yml b/.golangci.yml index 44cd7d72dfe..bbd162cb64f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -22,3 +22,9 @@ linters: enable: - goimports - gosec + +issues: + exclude-rules: + - path: _test\.go # disable some linters on test files + linters: + - unused