15
15
runs-on : ${{ matrix.operating-system }}
16
16
strategy :
17
17
matrix :
18
- operating-system : [ubuntu-latest, windows-latest, macos-latest]
18
+ operating-system : [ubuntu-latest-m , windows-latest, macos-latest]
19
19
steps :
20
- - name : Maximize build space
21
- uses : easimon/maximize-build-space@v10
22
- with :
23
- root-reserve-mb : 32768 # The golangci-lint uses a lot of space.
24
- remove-android : " true"
25
- remove-docker-images : " true"
26
- remove-dotnet : " true"
27
- remove-haskell : " true"
28
- if : matrix.operating-system == 'ubuntu-latest'
29
-
30
20
31
21
32
22
- name : Set up Go
@@ -40,15 +30,15 @@ jobs:
40
30
echo "Run 'go mod tidy' and push it"
41
31
exit 1
42
32
fi
43
- if : matrix.operating-system == 'ubuntu-latest'
33
+ if : matrix.operating-system == 'ubuntu-latest-m '
44
34
45
35
- name : Lint
46
36
id : lint
47
37
48
38
with :
49
39
version : v1.58
50
40
args : --verbose --out-format=line-number
51
- if : matrix.operating-system == 'ubuntu-latest'
41
+ if : matrix.operating-system == 'ubuntu-latest-m '
52
42
53
43
- name : Check if linter failed
54
44
run : |
@@ -69,14 +59,14 @@ jobs:
69
59
echo "Run 'mage docs:generate' and push it"
70
60
exit 1
71
61
fi
72
- if : matrix.operating-system == 'ubuntu-latest'
62
+ if : matrix.operating-system == 'ubuntu-latest-m '
73
63
74
64
- name : Run unit tests
75
65
run : mage test:unit
76
66
77
67
integration :
78
68
name : Integration Test
79
- runs-on : ubuntu-latest
69
+ runs-on : ubuntu-latest-m
80
70
steps :
81
71
- name : Check out code into the Go module directory
82
72
96
86
97
87
k8s-integration :
98
88
name : K8s Integration Test
99
- runs-on : ubuntu-latest
89
+ runs-on : ubuntu-latest-m
100
90
steps :
101
- - name : Maximize build space
102
- uses : easimon/maximize-build-space@v10
103
- with :
104
- root-reserve-mb : 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space.
105
- remove-android : " true"
106
- remove-docker-images : " true"
107
- remove-dotnet : " true"
108
- remove-haskell : " true"
109
-
110
91
- name : Check out code into the Go module directory
111
92
112
93
@@ -147,17 +128,8 @@ jobs:
147
128
148
129
vm-test :
149
130
name : VM Integration Test
150
- runs-on : ubuntu-latest
131
+ runs-on : ubuntu-latest-m
151
132
steps :
152
- - name : Maximize build space
153
- uses : easimon/maximize-build-space@v10
154
- with :
155
- root-reserve-mb : 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space.
156
- remove-android : ' true'
157
- remove-docker-images : ' true'
158
- remove-dotnet : ' true'
159
- remove-haskell : ' true'
160
-
161
133
- name : Checkout
162
134
163
135
@@ -178,20 +150,10 @@ jobs:
178
150
runs-on : ${{ matrix.operating-system }}
179
151
strategy :
180
152
matrix :
181
- operating-system : [ubuntu-latest, windows-latest, macos-latest]
153
+ operating-system : [ubuntu-latest-m , windows-latest, macos-latest]
182
154
env :
183
155
DOCKER_CLI_EXPERIMENTAL : " enabled"
184
156
steps :
185
- - name : Maximize build space
186
- uses : easimon/maximize-build-space@v10
187
- with :
188
- root-reserve-mb : 32768 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space.
189
- remove-android : ' true'
190
- remove-docker-images : ' true'
191
- remove-dotnet : ' true'
192
- remove-haskell : ' true'
193
- if : matrix.operating-system == 'ubuntu-latest'
194
-
195
157
- name : Checkout
196
158
197
159
0 commit comments