Skip to content

Commit dccc08a

Browse files
Merge pull request #211 from matthiasbeyer/continue-on-error-on-nightly
On nightly, ignore errors
2 parents 866ffad + 123e3ee commit dccc08a

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)