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 11name : Build
22on :
33 pull_request :
4+ branches : [main]
45 push :
5- branches :
6- - master
7- - staging
8- - trying
6+ branches : [main, staging, trying]
97
108env :
119 CARGO_TERM_COLOR : always
1412 # Run cargo fmt --check
1513 style :
1614 name : style
17- runs-on : ubuntu-20.04
15+ runs-on : ubuntu-latest
1816 steps :
1917 - name : Checkout
2018 uses : actions/checkout@v1
3634 # Compilation check
3735 check :
3836 name : check
39- runs-on : ubuntu-20.04
37+ runs-on : ubuntu-latest
4038 strategy :
4139 matrix :
4240 target :
9896 # Run cpass tests
9997 testcpass :
10098 name : testcpass
101- runs-on : ubuntu-20.04
99+ runs-on : ubuntu-latest
102100 strategy :
103101 matrix :
104102 target :
@@ -154,7 +152,7 @@ jobs:
154152 # Run test suite for UI
155153 testtsan :
156154 name : testtsan
157- runs-on : ubuntu-20.04
155+ runs-on : ubuntu-latest
158156 strategy :
159157 matrix :
160158 target :
@@ -212,7 +210,7 @@ jobs:
212210 # Run cfail tests on MSRV
213211 testcfail :
214212 name : testcfail
215- runs-on : ubuntu-20.04
213+ runs-on : ubuntu-latest
216214 defaults :
217215 run :
218216 working-directory : cfail
@@ -255,7 +253,7 @@ jobs:
255253 # Run MIRI tests on nightly
256254 testmiri :
257255 name : testmiri
258- runs-on : ubuntu-20.04
256+ runs-on : ubuntu-latest
259257 steps :
260258 - name : Checkout
261259 uses : actions/checkout@v2
@@ -304,7 +302,7 @@ jobs:
304302 - testcpass
305303 - testtsan
306304 - testcfail
307- runs-on : ubuntu-20.04
305+ runs-on : ubuntu-latest
308306 steps :
309307 - name : Mark the job as a success
310308 run : exit 0
You can’t perform that action at this time.
0 commit comments