Skip to content

Commit 6fabbb5

Browse files
committed
v1.1.5
1 parent 1b8858f commit 6fabbb5

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

.github/workflows/go.yml

+12-14
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,34 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Set up Go
21-
uses: actions/setup-go@v3
21+
uses: actions/setup-go@v5
2222
with:
23-
go-version: 1.18
23+
go-version: '1.21'
2424

2525
- name: Setup golangci-lint
26-
uses: golangci/golangci-lint-action@v3.4.0
26+
uses: golangci/golangci-lint-action@v6
2727
with:
28-
version: v1.51.2
29-
args: --verbose
28+
version: latest
29+
args: -v --disable=unused
3030

3131
test:
3232
needs: lint
3333
strategy:
3434
matrix:
3535
os: [ ubuntu-latest, macos-latest ]
36-
go: [ '1.18', '1.19', '1.20' ]
36+
go: [ '1.20', '1.21' ]
3737
runs-on: ${{ matrix.os }}
3838
steps:
39+
- name: Checkout Code
40+
uses: actions/checkout@v4
41+
3942
- name: Set up Go ${{ matrix.go }}
40-
uses: actions/setup-go@v3
43+
uses: actions/setup-go@v5
4144
with:
4245
go-version: ${{ matrix.go }}
4346

44-
- name: Checkout Code
45-
uses: actions/checkout@v3
46-
with:
47-
ref: ${{ github.ref }}
48-
4947
- name: Test
50-
run: go test -v ./...
48+
run: go test -v

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/go-pay/wechat-sdk
22

3-
go 1.18
3+
go 1.21

go.sum

Whitespace-only changes.

0 commit comments

Comments
 (0)