Add skip-pkg-cache go golangci-lint-action (#345)

* Add `skip-pkg-cache` go `golangci-lint-action`

See golangci/golangci-lint-action#677.

* Increase `golangci-lint` timeout
This commit is contained in:
Joshua Spence
2023-03-09 09:02:13 +11:00
committed by GitHub
parent 105d542879
commit 235d307445
2 changed files with 5 additions and 0 deletions

View File

@@ -31,3 +31,5 @@ jobs:
check-latest: true
- uses: "golangci/golangci-lint-action@v3.4.0"
with:
skip-pkg-cache: true

View File

@@ -14,3 +14,6 @@ linters:
- "structcheck"
- "unconvert"
- "unused"
run:
timeout: '2m'