Skip to content

Commit 6c0e29a

Browse files
authored
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
1 parent 8900662 commit 6c0e29a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ jobs:
3131
check-latest: true
3232

3333
- uses: "golangci/[email protected]"
34+
with:
35+
skip-pkg-cache: true

.golangci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ linters:
1414
- "structcheck"
1515
- "unconvert"
1616
- "unused"
17+
18+
run:
19+
timeout: '2m'

0 commit comments

Comments
 (0)