Skip to content

Commit

Permalink
update CI to use new branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
japaric committed Aug 9, 2022
1 parent 8a98b26 commit 9025e7d
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Build
on:
pull_request:
branches: [main]
push:
branches:
- master
- staging
- trying
branches: [main, staging, trying]

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

0 comments on commit 9025e7d

Please sign in to comment.