File tree Expand file tree Collapse file tree 6 files changed +12
-10
lines changed Expand file tree Collapse file tree 6 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 4
4
- package-ecosystem : gomod
5
5
directory : " /"
6
6
schedule :
7
- interval : " daily "
7
+ interval : " monthly "
Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : rlespinasse/github-slug-action@v4
14
- - uses : actions/setup-go@v3
14
+ - uses : actions/setup-go@v4
15
15
with :
16
- go-version : ^1.20
16
+ go-version : ^1.21
17
17
- run : cd /tmp && go install github.com/Antonboom/errname@${{ env.GITHUB_REF_NAME }} && errname -h
18
18
19
19
lint :
@@ -22,14 +22,15 @@ jobs:
22
22
- uses : actions/checkout@v3
23
23
- uses : golangci/golangci-lint-action@v3
24
24
with :
25
- version : latest
25
+ version : v1.54.0
26
+ args : --timeout=5m
26
27
27
28
tests :
28
29
runs-on : ubuntu-latest
29
30
steps :
30
- - uses : actions/setup-go@v3
31
+ - uses : actions/setup-go@v4
31
32
with :
32
- go-version : ^1.20
33
+ go-version : ^1.21
33
34
- uses : actions/checkout@v3
34
35
- run : go test -coverprofile=coverage.out ./...
35
36
- uses : shogo82148/actions-goveralls@v1
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ linters:
18
18
- asciicheck
19
19
- bidichk
20
20
- bodyclose
21
- - depguard
22
21
- dogsled
23
22
- dupl
24
23
- durationcheck
@@ -53,6 +52,7 @@ linters:
53
52
- lll
54
53
- makezero
55
54
- misspell
55
+ - mirror
56
56
- nakedret
57
57
- nilerr
58
58
- nilnil
Original file line number Diff line number Diff line change 15
15
16
16
tools:install :
17
17
- echo "Install local tools..."
18
- - (which gci > /dev/null) || GO111MODULE=off go install github.com/daixiang0/gci@latest
19
- - (which gofumpt > /dev/null) || GO111MODULE=off go install mvdan.cc/gofumpt@latest
18
+ - (which gci > /dev/null) || go install github.com/daixiang0/gci@latest
19
+ - (which gofumpt > /dev/null) || go install mvdan.cc/gofumpt@latest
20
20
21
21
tidy :
22
22
cmds :
Original file line number Diff line number Diff line change 1
1
module github.com/Antonboom/errname
2
2
3
- go 1.20
3
+ go 1.21
4
4
5
5
require (
6
6
golang.org/x/sys v0.11.0 // indirect
Original file line number Diff line number Diff line change 1
1
golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc =
2
2
golang.org/x/mod v0.12.0 /go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs =
3
3
golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E =
4
+ golang.org/x/sync v0.3.0 /go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y =
4
5
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM =
5
6
golang.org/x/sys v0.11.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
6
7
golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss =
You can’t perform that action at this time.
0 commit comments