Skip to content

Commit 123e3ee

Browse files
committed
On nightly, ignore errors
This changes the CI setup so that failures on nightly do not break the CI jobs. This way we can see that nightly changes things but our build doesn't break immediately. Because we do not depend on nightly features, I guess this is a good idea. Signed-off-by: Matthias Beyer <[email protected]>
1 parent 866ffad commit 123e3ee

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/msrv.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ jobs:
2424
override: true
2525

2626
- name: Run cargo check
27+
if: matrix.rust != 'nightly'
28+
uses: actions-rs/cargo@v1
29+
with:
30+
command: check
31+
32+
- name: Run cargo check (nightly)
33+
if: matrix.rust == 'nightly'
34+
continue-on-error: true
2735
uses: actions-rs/cargo@v1
2836
with:
2937
command: check
@@ -49,6 +57,14 @@ jobs:
4957
override: true
5058

5159
- name: Run cargo test
60+
if: matrix.rust != 'nightly'
61+
uses: actions-rs/cargo@v1
62+
with:
63+
command: test
64+
65+
- name: Run cargo test (nightly)
66+
if: matrix.rust == 'nightly'
67+
continue-on-error: true
5268
uses: actions-rs/cargo@v1
5369
with:
5470
command: test

0 commit comments

Comments
 (0)