File tree 5 files changed +14
-14
lines changed
5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
strategy :
16
16
matrix :
17
- go : ['1.19 ', '1.20 ']
17
+ go : ['1.21 ', '1.22 ']
18
18
steps :
19
- - uses : actions/setup-go@v3
19
+ - uses : actions/setup-go@v5
20
20
with :
21
21
go-version : ${{ matrix.go }}
22
- - uses : actions/checkout@v3
22
+ - uses : actions/checkout@v4
23
23
- name : golangci-lint
24
- uses : golangci/golangci-lint-action@v3
24
+ uses : golangci/golangci-lint-action@v6
25
25
with :
26
- version : v1.52
26
+ version : v1.59
Original file line number Diff line number Diff line change @@ -12,18 +12,18 @@ jobs:
12
12
goreleaser :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v3
15
+ - uses : actions/checkout@v4
16
16
with :
17
17
fetch-depth : 0
18
18
- run : git fetch --force --tags
19
- - uses : actions/setup-go@v2
19
+ - uses : actions/setup-go@v5
20
20
with :
21
21
go-version : ' 1.20'
22
- - uses : goreleaser/goreleaser-action@v2
22
+ - uses : goreleaser/goreleaser-action@v6
23
23
with :
24
24
# either 'goreleaser' (default) or 'goreleaser-pro'
25
25
distribution : goreleaser
26
26
version : latest
27
- args : release --rm-dist
27
+ args : release --clean
28
28
env :
29
29
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
strategy :
16
16
matrix :
17
- go : ['1.19 ', '1.20 ']
17
+ go : ['1.21 ', '1.22 ']
18
18
steps :
19
- - uses : actions/setup-go@v3
19
+ - uses : actions/setup-go@v5
20
20
with :
21
21
go-version : ${{ matrix.go }}
22
- - uses : actions/checkout@v3
22
+ - uses : actions/checkout@v4
23
23
- name : test
24
24
run : go test -v ./...
25
25
- name : test-race
Original file line number Diff line number Diff line change 11
11
name : woke
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
- name : woke
16
16
uses : get-woke/woke-action@v0
17
17
with :
Original file line number Diff line number Diff line change @@ -489,7 +489,7 @@ func TestMarshalFields(t *testing.T) {
489
489
}{
490
490
{
491
491
description : "no fields filter" ,
492
- setQuery : func (q url.Values ) {},
492
+ setQuery : func (_ url.Values ) {},
493
493
expect : articleCompleteBody ,
494
494
}, {
495
495
description : "single fields filter (invalid field)" ,
You can’t perform that action at this time.
0 commit comments