@@ -14,15 +14,15 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : Check out code
17
- uses : actions/checkout@v2
17
+ uses : actions/checkout@v4
18
18
- name : Set the expected Go version
19
19
run : |
20
20
GOMOD_VERSION=$(cat go.mod | grep -i "^go " | sed -e "s/go //g")
21
21
echo "GOMOD_VERSION=${GOMOD_VERSION}" >> $GITHUB_ENV
22
22
- name : Set up Go
23
- uses : actions/setup-go@v4
23
+ uses : actions/setup-go@v5
24
24
with :
25
- go-version-file : ' go.mod'
25
+ go-version-file : " go.mod"
26
26
check-latest : true
27
27
- name : generating documentation
28
28
run : cd documentation/gen && go run .
@@ -35,13 +35,13 @@ jobs:
35
35
runs-on : ubuntu-latest
36
36
steps :
37
37
- name : Check out code
38
- uses : actions/checkout@v3
38
+ uses : actions/checkout@v4
39
39
- name : Set up Go
40
- uses : actions/setup-go@v4
40
+ uses : actions/setup-go@v5
41
41
with :
42
- go-version-file : ' go.mod'
42
+ go-version-file : " go.mod"
43
43
check-latest : true
44
- - uses : actions/cache@v2
44
+ - uses : actions/cache@v4
45
45
with :
46
46
path : |
47
47
~/.cache/go-build
@@ -58,13 +58,13 @@ jobs:
58
58
runs-on : ubuntu-latest
59
59
steps :
60
60
- name : Check out code
61
- uses : actions/checkout@v3
61
+ uses : actions/checkout@v4
62
62
- name : Set up Go
63
- uses : actions/setup-go@v4
63
+ uses : actions/setup-go@v5
64
64
with :
65
- go-version-file : ' go.mod'
65
+ go-version-file : " go.mod"
66
66
check-latest : true
67
- - uses : actions/cache@v2
67
+ - uses : actions/cache@v4
68
68
with :
69
69
path : |
70
70
~/.cache/go-build
@@ -82,13 +82,13 @@ jobs:
82
82
runs-on : ubuntu-latest
83
83
steps :
84
84
- name : Check out code
85
- uses : actions/checkout@v3
85
+ uses : actions/checkout@v4
86
86
- name : Set up Go
87
- uses : actions/setup-go@v4
87
+ uses : actions/setup-go@v5
88
88
with :
89
- go-version-file : ' go.mod'
89
+ go-version-file : " go.mod"
90
90
check-latest : true
91
- - uses : actions/cache@v2
91
+ - uses : actions/cache@v4
92
92
with :
93
93
path : |
94
94
~/.cache/go-build
@@ -104,58 +104,58 @@ jobs:
104
104
runs-on : ubuntu-latest
105
105
needs : ["lint"]
106
106
steps :
107
- - name : Check out code
108
- uses : actions/checkout@v3
109
- - name : Set up Go
110
- uses : actions/setup-go@v4
111
- with :
112
- go-version-file : ' go.mod'
113
- check-latest : true
114
- - uses : actions/cache@v2
115
- with :
116
- path : |
117
- ~/.cache/go-build
118
- ~/go/pkg/mod
119
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
120
- restore-keys : |
121
- ${{ runner.os }}-go-
122
- - name : Get dependencies
123
- run : |
124
- go get -v -t -d ./...
125
- - name : Build
126
- run : |
127
- go build -v .
107
+ - name : Check out code
108
+ uses : actions/checkout@v4
109
+ - name : Set up Go
110
+ uses : actions/setup-go@v5
111
+ with :
112
+ go-version-file : " go.mod"
113
+ check-latest : true
114
+ - uses : actions/cache@v4
115
+ with :
116
+ path : |
117
+ ~/.cache/go-build
118
+ ~/go/pkg/mod
119
+ key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
120
+ restore-keys : |
121
+ ${{ runner.os }}-go-
122
+ - name : Get dependencies
123
+ run : |
124
+ go get -v -t -d ./...
125
+ - name : Build
126
+ run : |
127
+ go build -v .
128
128
e2e :
129
129
strategy :
130
- matrix :
131
- k8s-version : [' v1.30.0' ]
130
+ matrix :
131
+ k8s-version : [" v1.30.0" ]
132
132
needs : ["build"]
133
133
runs-on : ubuntu-latest
134
134
steps :
135
- - name : Check out code
136
- uses : actions/checkout@v3
137
- - name : Set up Go
138
- uses : actions/setup-go@v4
139
- with :
140
- go-version-file : ' go.mod'
141
- check-latest : true
142
- - uses : actions/cache@v2
143
- with :
144
- path : |
145
- ~/.cache/go-build
146
- ~/go/pkg/mod
147
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
148
- restore-keys : |
149
- ${{ runner.os }}-go-
150
- -
uses :
engineerd/[email protected]
151
- with :
135
+ - name : Check out code
136
+ uses : actions/checkout@v4
137
+ - name : Set up Go
138
+ uses : actions/setup-go@v5
139
+ with :
140
+ go-version-file : " go.mod"
141
+ check-latest : true
142
+ - uses : actions/cache@v4
143
+ with :
144
+ path : |
145
+ ~/.cache/go-build
146
+ ~/go/pkg/mod
147
+ key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
148
+ restore-keys : |
149
+ ${{ runner.os }}-go-
150
+ -
uses :
engineerd/[email protected]
151
+ with :
152
152
name : dev
153
153
config : deploy/tests/kind-config.yaml
154
154
image : kindest/node:${{ matrix.k8s-version }}
155
155
version : v0.23.0
156
- - name : Setup
157
- run : CI_ENV=github deploy/tests/create.sh
158
- - name : Run parallel e2e tests
159
- run : go test ./... -v --tags=e2e_parallel --tags=e2e_https
160
- - name : Run sequential e2e tests
161
- run : go test ./... -v -p 1 --tags=e2e_sequential
156
+ - name : Setup
157
+ run : CI_ENV=github deploy/tests/create.sh
158
+ - name : Run parallel e2e tests
159
+ run : go test ./... -v --tags=e2e_parallel --tags=e2e_https
160
+ - name : Run sequential e2e tests
161
+ run : go test ./... -v -p 1 --tags=e2e_sequential
0 commit comments