Skip to content

Commit 7415f71

Browse files
committed
add timeout for golangci-lint
1 parent e06210c commit 7415f71

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
uses: golangci/golangci-lint-action@v2
5656
with:
5757
version: v1.45.2
58+
args: --timeout=5m
5859

5960
- name: Run tests
6061
run: go test ./...

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ go 1.17
55
require (
66
github.com/bradleyjkemp/cupaloy/v2 v2.6.0
77
github.com/spf13/afero v1.6.0
8+
golang.org/x/text v0.3.7
89
golang.org/x/tools v0.1.8
910
)
1011

@@ -13,6 +14,5 @@ require (
1314
github.com/pmezard/go-difflib v1.0.0 // indirect
1415
golang.org/x/mod v0.5.1 // indirect
1516
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect
16-
golang.org/x/text v0.3.7 // indirect
1717
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
1818
)

0 commit comments

Comments
 (0)