Skip to content

Commit 38d414c

Browse files
committed
Add timeout to CI golangci-lint
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]>
1 parent accfdaa commit 38d414c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/hw-event-proxy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
skip-pkg-cache: true
2424
skip-build-cache: true
2525
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
26-
version: v1.42.1
26+
version: v1.42
27+
args: --timeout 3m0s
2728
working-directory: ./hw-event-proxy
2829
unit-tests:
2930
name: Unit Tests

0 commit comments

Comments
 (0)