@@ -15,10 +15,10 @@ jobs:
15
15
name : Mod
16
16
runs-on : ubuntu-latest
17
17
steps :
18
+ - uses : actions/checkout@v4
18
19
- uses : actions/setup-go@v4
19
20
with :
20
- go-version : ' 1.20'
21
- - uses : actions/checkout@v4
21
+ go-version-file : ' go.mod'
22
22
23
23
with :
24
24
path : ~/go/pkg/mod
@@ -31,10 +31,10 @@ jobs:
31
31
env :
32
32
GOCACHE : " /tmp/go/cache"
33
33
steps :
34
+ - uses : actions/checkout@v4
34
35
- uses : actions/setup-go@v4
35
36
with :
36
- go-version : ' 1.20'
37
- - uses : actions/checkout@v4
37
+ go-version-file : ' go.mod'
38
38
39
39
with :
40
40
path : ~/go/pkg/mod
@@ -66,10 +66,10 @@ jobs:
66
66
MYSQL_ROOT_PASSWORD : password
67
67
MYSQL_DATABASE : anke-to
68
68
steps :
69
+ - uses : actions/checkout@v4
69
70
- uses : actions/setup-go@v4
70
71
with :
71
- go-version : ' 1.20'
72
- - uses : actions/checkout@v4
72
+ go-version-file : ' go.mod'
73
73
74
74
with :
75
75
path : ~/go/pkg/mod
@@ -97,10 +97,10 @@ jobs:
97
97
name : Lint
98
98
runs-on : ubuntu-latest
99
99
steps :
100
+ - uses : actions/checkout@v4
100
101
- uses : actions/setup-go@v4
101
102
with :
102
- go-version : ' 1.20'
103
- - uses : actions/checkout@v4
103
+ go-version-file : ' go.mod'
104
104
- name : golangci-lint
105
105
106
106
with :
0 commit comments