From 6fabbb5c36a01b1d877ae439cf926e781f720d31 Mon Sep 17 00:00:00 2001 From: Jerry <85411418@qq.com> Date: Fri, 2 Aug 2024 23:46:10 +0800 Subject: [PATCH] v1.1.5 --- .github/workflows/go.yml | 26 ++++++++++++-------------- go.mod | 2 +- go.sum | 0 3 files changed, 13 insertions(+), 15 deletions(-) create mode 100644 go.sum diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d99f123..fd0407b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -15,36 +15,34 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: 1.18 + go-version: '1.21' - name: Setup golangci-lint - uses: golangci/golangci-lint-action@v3.4.0 + uses: golangci/golangci-lint-action@v6 with: - version: v1.51.2 - args: --verbose + version: latest + args: -v --disable=unused test: needs: lint strategy: matrix: os: [ ubuntu-latest, macos-latest ] - go: [ '1.18', '1.19', '1.20' ] + go: [ '1.20', '1.21' ] runs-on: ${{ matrix.os }} steps: + - name: Checkout Code + uses: actions/checkout@v4 + - name: Set up Go ${{ matrix.go }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - - name: Checkout Code - uses: actions/checkout@v3 - with: - ref: ${{ github.ref }} - - name: Test - run: go test -v ./... + run: go test -v diff --git a/go.mod b/go.mod index dca319d..77cf17b 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/go-pay/wechat-sdk -go 1.18 +go 1.21 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..e69de29