@@ -23,15 +23,15 @@ jobs:
23
23
name : ci-go-lint
24
24
runs-on : ubuntu-latest
25
25
steps :
26
+ - name : Check out code into the Go module directory
27
+ uses : actions/checkout@v3
28
+
26
29
- name : Set up Go 1.x
27
30
uses : actions/setup-go@v4
28
31
with :
29
32
go-version : ${{ env.GO_VERSION }}
30
33
id : go
31
34
32
- - name : Check out code into the Go module directory
33
- uses : actions/checkout@v3
34
-
35
35
- name : Lint kube-router code
36
36
run : |
37
37
make lint
@@ -41,15 +41,15 @@ jobs:
41
41
name : ci-unit-tests
42
42
runs-on : ubuntu-latest
43
43
steps :
44
+ - name : Check out code into the Go module directory
45
+ uses : actions/checkout@v3
46
+
44
47
- name : Set up Go 1.x
45
48
uses : actions/setup-go@v4
46
49
with :
47
50
go-version : ${{ env.GO_VERSION }}
48
51
id : go
49
52
50
- - name : Check out code into the Go module directory
51
- uses : actions/checkout@v3
52
-
53
53
- name : Run unit tests for kube-router
54
54
run : |
55
55
make test
@@ -61,15 +61,15 @@ jobs:
61
61
name : ci-build-kube-router
62
62
runs-on : ubuntu-latest
63
63
steps :
64
+ - name : Check out code into the Go module directory
65
+ uses : actions/checkout@v3
66
+
64
67
- name : Set up Go 1.x
65
68
uses : actions/setup-go@v4
66
69
with :
67
70
go-version : ${{ env.GO_VERSION }}
68
71
id : go
69
72
70
- - name : Check out code into the Go module directory
71
- uses : actions/checkout@v3
72
-
73
73
- name : Build kube-router
74
74
run : |
75
75
make kube-router
@@ -177,15 +177,15 @@ jobs:
177
177
runs-on : ubuntu-latest
178
178
if : ${{ startsWith(github.ref, 'refs/tags/v') }}
179
179
steps :
180
+ - name : Check out code into the Go module directory
181
+ uses : actions/checkout@v3
182
+
180
183
- name : Set up Go 1.x
181
184
uses : actions/setup-go@v4
182
185
with :
183
186
go-version : ${{ env.GO_VERSION }}
184
187
id : go
185
188
186
- - name : Check out code into the Go module directory
187
- uses : actions/checkout@v3
188
-
189
189
- name : Run GoReleaser
190
190
uses : goreleaser/goreleaser-action@v4
191
191
with :
0 commit comments