Skip to content

Commit

Permalink
add timeout to linter
Browse files Browse the repository at this point in the history
  • Loading branch information
toms-place committed Jun 2, 2023
1 parent 8b4357c commit ac7c4a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v4.0.1
with:
go-version: '1.20'
cache: false
cache: true
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v3.5.0
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest

args: --timeout 3m --verbose
# Optional: working directory, useful for monorepos
# working-directory: somedir

Expand Down

0 comments on commit ac7c4a4

Please sign in to comment.