Skip to content

Commit d13f96d

Browse files
committed
Update github action go version
1 parent ea59bcf commit d13f96d

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ on:
77
jobs:
88
test:
99
name: Test
10+
strategy:
11+
matrix:
12+
go: ['1.19', '1.18', '1.17']
13+
platform: [ubuntu-latest] # can not run in windows OS
1014
runs-on: ubuntu-latest
1115
steps:
1216
- name: Set up Go
1317
uses: actions/setup-go@v3
1418
with:
15-
go-version: 1.14
19+
go-version: ${{ matrix.go }}
1620
- uses: actions/checkout@v3
1721
- name: Test
18-
run: go test -v -cover .
22+
run: go test -v -cover .

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ go 1.14
55
require (
66
github.com/jinzhu/now v1.1.5 // indirect
77
github.com/mattn/go-sqlite3 v1.14.15
8-
gorm.io/gorm v1.23.10
8+
gorm.io/gorm v1.24.0
99
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ=
55
github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8=
66
github.com/mattn/go-sqlite3 v1.14.15 h1:vfoHhTN1af61xCRSWzFIWzx2YskyMTwHLrExkBOjvxI=
77
github.com/mattn/go-sqlite3 v1.14.15/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg=
8-
gorm.io/gorm v1.23.10 h1:4Ne9ZbzID9GUxRkllxN4WjJKpsHx8YbKvekVdgyWh24=
9-
gorm.io/gorm v1.23.10/go.mod h1:DVrVomtaYTbqs7gB/x2uVvqnXzv0nqjB396B8cG4dBA=
8+
gorm.io/gorm v1.24.0 h1:j/CoiSm6xpRpmzbFJsQHYj+I8bGYWLXVHeYEyyKlF74=
9+
gorm.io/gorm v1.24.0/go.mod h1:DVrVomtaYTbqs7gB/x2uVvqnXzv0nqjB396B8cG4dBA=

0 commit comments

Comments
 (0)