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:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -31,3 +31,5 @@ jobs:
|
||||
check-latest: true
|
||||
|
||||
- uses: "golangci/golangci-lint-action@v3.4.0"
|
||||
with:
|
||||
skip-pkg-cache: true
|
||||
|
||||
@@ -14,3 +14,6 @@ linters:
|
||||
- "structcheck"
|
||||
- "unconvert"
|
||||
- "unused"
|
||||
|
||||
run:
|
||||
timeout: '2m'
|
||||
|
||||
Reference in New Issue
Block a user