X Tutup
Skip to content

Commit f18929c

Browse files
committed
Increase linter timeout from 1min to 3min
Hopefully avoids CI failures like https://github.com/cli/cli/runs/2379956774
1 parent 09b0981 commit f18929c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
go mod verify
3030
go mod download
3131
32-
LINT_VERSION=1.34.1
32+
LINT_VERSION=1.39.0
3333
curl -fsSL https://github.com/golangci/golangci-lint/releases/download/v${LINT_VERSION}/golangci-lint-${LINT_VERSION}-linux-amd64.tar.gz | \
3434
tar xz --strip-components 1 --wildcards \*/golangci-lint
3535
mkdir -p bin && mv golangci-lint bin/
@@ -50,6 +50,6 @@ jobs:
5050
assert-nothing-changed go fmt ./...
5151
assert-nothing-changed go mod tidy
5252
53-
bin/golangci-lint run --out-format github-actions || STATUS=$?
53+
bin/golangci-lint run --out-format=github-actions --timeout=3m || STATUS=$?
5454
5555
exit $STATUS

0 commit comments

Comments
 (0)
X Tutup