add go version matrix

This commit is contained in:
istarboy 2021-07-22 09:29:26 +08:00
parent 1c3ae11eba
commit c83e899f1f

View File

@ -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: |