File tree 3 files changed +13
-15
lines changed
3 files changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -15,36 +15,34 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- name : Checkout repository
18
- uses : actions/checkout@v3
18
+ uses : actions/checkout@v4
19
19
20
20
- name : Set up Go
21
- uses : actions/setup-go@v3
21
+ uses : actions/setup-go@v5
22
22
with :
23
- go-version : 1.18
23
+ go-version : ' 1.21 '
24
24
25
25
- name : Setup golangci-lint
26
- uses : golangci/golangci-lint-action@v3.4.0
26
+ uses : golangci/golangci-lint-action@v6
27
27
with :
28
- version : v1.51.2
29
- args : --verbose
28
+ version : latest
29
+ args : -v --disable=unused
30
30
31
31
test :
32
32
needs : lint
33
33
strategy :
34
34
matrix :
35
35
os : [ ubuntu-latest, macos-latest ]
36
- go : [ '1.18 ', '1.19', '1.20 ' ]
36
+ go : [ '1.20 ', '1.21 ' ]
37
37
runs-on : ${{ matrix.os }}
38
38
steps :
39
+ - name : Checkout Code
40
+ uses : actions/checkout@v4
41
+
39
42
- name : Set up Go ${{ matrix.go }}
40
- uses : actions/setup-go@v3
43
+ uses : actions/setup-go@v5
41
44
with :
42
45
go-version : ${{ matrix.go }}
43
46
44
- - name : Checkout Code
45
- uses : actions/checkout@v3
46
- with :
47
- ref : ${{ github.ref }}
48
-
49
47
- name : Test
50
- run : go test -v ./...
48
+ run : go test -v
Original file line number Diff line number Diff line change 1
1
module github.com/go-pay/wechat-sdk
2
2
3
- go 1.18
3
+ go 1.21
You can’t perform that action at this time.
0 commit comments