mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2025-12-27 01:54:01 -05:00
Only do CI for the miri branch on nightly
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -12,7 +12,8 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
rust: [nightly, beta, stable]
|
||||
# attempt miri only on nightly; everything else on all 3 toolchains
|
||||
rust: ${{fromJSON(github.ref_name == 'miri' && '["nightly"]' || '["nightly", "beta", "stable"]')}}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./
|
||||
|
||||
Reference in New Issue
Block a user