308: update CI to use new branch name r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
This commit is contained in:
bors[bot] 2022-08-09 13:59:53 +00:00 committed by GitHub
commit 5e93d0f415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,9 @@
name: Build name: Build
on: on:
pull_request: pull_request:
branches: [main]
push: push:
branches: branches: [main, staging, trying]
- master
- staging
- trying
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -14,7 +12,7 @@ jobs:
# Run cargo fmt --check # Run cargo fmt --check
style: style:
name: style name: style
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1
@ -36,7 +34,7 @@ jobs:
# Compilation check # Compilation check
check: check:
name: check name: check
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
target: target:
@ -98,7 +96,7 @@ jobs:
# Run cpass tests # Run cpass tests
testcpass: testcpass:
name: testcpass name: testcpass
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
target: target:
@ -154,7 +152,7 @@ jobs:
# Run test suite for UI # Run test suite for UI
testtsan: testtsan:
name: testtsan name: testtsan
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
target: target:
@ -212,7 +210,7 @@ jobs:
# Run cfail tests on MSRV # Run cfail tests on MSRV
testcfail: testcfail:
name: testcfail name: testcfail
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
defaults: defaults:
run: run:
working-directory: cfail working-directory: cfail
@ -255,7 +253,7 @@ jobs:
# Run MIRI tests on nightly # Run MIRI tests on nightly
testmiri: testmiri:
name: testmiri name: testmiri
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -304,7 +302,7 @@ jobs:
- testcpass - testcpass
- testtsan - testtsan
- testcfail - testcfail
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- name: Mark the job as a success - name: Mark the job as a success
run: exit 0 run: exit 0