diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 51faac6..c535c2e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -18,8 +18,6 @@ jobs: with: go-version: stable - uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 - with: - args: --timeout=180s --enable gocritic lint-commits: permissions: contents: read diff --git a/.golangci.yaml b/.golangci.yaml index 3506354..f83d768 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,5 +1,9 @@ version: "2" +run: + timeout: 180s linters: + enable: + - gocritic exclusions: presets: - std-error-handling