mirror of
https://gitee.com/johng/gf.git
synced 2024-11-30 19:27:46 +08:00
add go version matrix
This commit is contained in:
parent
1c3ae11eba
commit
c83e899f1f
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
@ -50,6 +50,12 @@ jobs:
|
||||
ports:
|
||||
# Maps tcp port 3306 on service container to the host
|
||||
- 3306:3306
|
||||
|
||||
# strategy set
|
||||
strategy:
|
||||
matrix:
|
||||
go: [ '1.13', '1.14','1.15','1.16' ]
|
||||
|
||||
steps:
|
||||
|
||||
- uses: szenius/set-timezone@v1.0
|
||||
@ -61,7 +67,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
go-version: ${{ matrix.go }}
|
||||
|
||||
- name: Before script
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user