Add go1.18 debug build

This commit is contained in:
世界 2022-10-21 11:54:44 +08:00
parent 43d5b8598b
commit 0ca3290364
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
1 changed files with 21 additions and 0 deletions

View File

@ -55,6 +55,27 @@ jobs:
- name: Run Test
run: |
go test -v ./...
build_go118:
name: Debug build (Go 1.18)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.18.7
- name: Cache go module
uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
key: go118-${{ hashFiles('**/go.sum') }}
- name: Run Test
run: |
go test -v ./...
cross:
strategy:
matrix: