Only do CI for the miri branch on nightly

This commit is contained in:
David Tolnay committed 2022-06-04 17:21:35 -07:00
1 parent ac5882a3ab
commit b88a2318c2
1 file changed
+2 -1
+2 -1
View File
@@ -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: ./