Skip to content

Commit

Permalink
Add timeout to CI golangci-lint
Browse files Browse the repository at this point in the history
CI Linting job fails intermittently due to timeout.
Increase the timeout to 3m. The timeout issue and suggested
solution can be found at
golangci/golangci-lint-action#297

Signed-off-by: Jack Ding <[email protected]>
  • Loading branch information
jzding committed Jan 27, 2022
1 parent accfdaa commit 38d414c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/hw-event-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
skip-pkg-cache: true
skip-build-cache: true
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.42.1
version: v1.42
args: --timeout 3m0s
working-directory: ./hw-event-proxy
unit-tests:
name: Unit Tests
Expand Down

0 comments on commit 38d414c

Please sign in to comment.