Bump Go version

This commit is contained in:
世界 2024-02-07 14:11:20 +08:00
parent 46be319976
commit e2090923db
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 23 additions and 3 deletions

View file

@ -28,7 +28,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ^1.21
go-version: ^1.22
continue-on-error: true
- name: Run Test
run: |
@ -64,7 +64,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ^1.20
go-version: ~1.20
- name: Cache go module
uses: actions/cache@v4
with:
@ -73,6 +73,26 @@ jobs:
key: go120-${{ hashFiles('**/go.sum') }}
- name: Run Test
run: make ci_build
build_go121:
name: Debug build (Go 1.21)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ~1.21
- name: Cache go module
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
key: go121-${{ hashFiles('**/go.sum') }}
- name: Run Test
run: make ci_build
cross:
strategy:
matrix:

View file

@ -28,7 +28,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ^1.21
go-version: ^1.22
- name: Setup Go
uses: actions/setup-go@v5
with: