⏱ Extend golangci-lint timeout to 5m0s
For reasons unknown, golangci-lint's default 1m0s timeout is *slightly* too short for CI runs occasionally. Extend it to 5 minutes to ensure the job always has enough time to run. Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
b7fb52dc7d
commit
01c8daabf7
1 changed files with 1 additions and 1 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.23.7
|
||||
|
||||
- name: Run golangci-lint
|
||||
run: $(go env GOPATH)/bin/golangci-lint run
|
||||
run: $(go env GOPATH)/bin/golangci-lint run --timeout 5m0s
|
||||
|
||||
- name: Run unit tests
|
||||
run: go test -v -race -covermode=atomic -coverprofile=coverage.txt -coverpkg=./... ./...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue