Skip to content

Commit 5e93d0f

Browse files
bors[bot]japaric
andauthored
Merge #308
308: update CI to use new branch name r=japaric a=japaric Co-authored-by: Jorge Aparicio <[email protected]>
2 parents 8a98b26 + 9025e7d commit 5e93d0f

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name: Build
22
on:
33
pull_request:
4+
branches: [main]
45
push:
5-
branches:
6-
- master
7-
- staging
8-
- trying
6+
branches: [main, staging, trying]
97

108
env:
119
CARGO_TERM_COLOR: always
@@ -14,7 +12,7 @@ jobs:
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
@@ -36,7 +34,7 @@ jobs:
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:
@@ -98,7 +96,7 @@ jobs:
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

0 commit comments

Comments
 (0)