Skip to content

Commit

Permalink
Add skip-pkg-cache go golangci-lint-action (#345)
Browse files Browse the repository at this point in the history
* Add `skip-pkg-cache` go `golangci-lint-action`

See golangci/golangci-lint-action#677.

* Increase `golangci-lint` timeout
  • Loading branch information
joshuaspence committed Mar 8, 2023
1 parent 8900662 commit 6c0e29a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ jobs:
check-latest: true

- uses: "golangci/golangci-lint-action@v3.4.0"
with:
skip-pkg-cache: true
3 changes: 3 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ linters:
- "structcheck"
- "unconvert"
- "unused"

run:
timeout: '2m'

0 comments on commit 6c0e29a

Please sign in to comment.