File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 1
1
name : Build
2
2
on :
3
3
pull_request :
4
+ branches : [main]
4
5
push :
5
- branches :
6
- - master
7
- - staging
8
- - trying
6
+ branches : [main, staging, trying]
9
7
10
8
env :
11
9
CARGO_TERM_COLOR : always
14
12
# Run cargo fmt --check
15
13
style :
16
14
name : style
17
- runs-on : ubuntu-20.04
15
+ runs-on : ubuntu-latest
18
16
steps :
19
17
- name : Checkout
20
18
uses : actions/checkout@v1
36
34
# Compilation check
37
35
check :
38
36
name : check
39
- runs-on : ubuntu-20.04
37
+ runs-on : ubuntu-latest
40
38
strategy :
41
39
matrix :
42
40
target :
98
96
# Run cpass tests
99
97
testcpass :
100
98
name : testcpass
101
- runs-on : ubuntu-20.04
99
+ runs-on : ubuntu-latest
102
100
strategy :
103
101
matrix :
104
102
target :
@@ -154,7 +152,7 @@ jobs:
154
152
# Run test suite for UI
155
153
testtsan :
156
154
name : testtsan
157
- runs-on : ubuntu-20.04
155
+ runs-on : ubuntu-latest
158
156
strategy :
159
157
matrix :
160
158
target :
@@ -212,7 +210,7 @@ jobs:
212
210
# Run cfail tests on MSRV
213
211
testcfail :
214
212
name : testcfail
215
- runs-on : ubuntu-20.04
213
+ runs-on : ubuntu-latest
216
214
defaults :
217
215
run :
218
216
working-directory : cfail
@@ -255,7 +253,7 @@ jobs:
255
253
# Run MIRI tests on nightly
256
254
testmiri :
257
255
name : testmiri
258
- runs-on : ubuntu-20.04
256
+ runs-on : ubuntu-latest
259
257
steps :
260
258
- name : Checkout
261
259
uses : actions/checkout@v2
@@ -304,7 +302,7 @@ jobs:
304
302
- testcpass
305
303
- testtsan
306
304
- testcfail
307
- runs-on : ubuntu-20.04
305
+ runs-on : ubuntu-latest
308
306
steps :
309
307
- name : Mark the job as a success
310
308
run : exit 0
You can’t perform that action at this time.
0 commit comments