github: apply go version from matrix for go1.17 and go1.18

This commit is contained in:
c9s 2022-08-09 16:49:34 +08:00
parent 1df027456a
commit 870cb8acfb
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -14,6 +14,9 @@ jobs:
matrix:
redis-version:
- 6.2
go-version:
- 1.17
- 1.18
env:
MYSQL_DATABASE: bbgo
MYSQL_USER: "root"
@ -46,7 +49,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: ${{ matrix.go-version }}
- name: Install Migration Tool
run: go install github.com/c9s/rockhopper/cmd/rockhopper@v1.2.1