summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-06-08 22:01:11 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-06-08 22:11:19 +0200
commit123e3ee41f4676e1d989a1fbbda610a794d9d3fa (patch)
tree5c4f4b9b8ea195b770033537f83cdee130646ad5
parent866ffad2b8766270df00cd7e3ab5387acb1b53a6 (diff)
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 <mail@beyermatthias.de>
-rw-r--r--.github/workflows/msrv.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml
index b2f67e2..1cbbaff 100644
--- a/.github/workflows/msrv.yml
+++ b/.github/workflows/msrv.yml
@@ -24,6 +24,14 @@ jobs:
override: true
- name: Run cargo check
+ if: matrix.rust != 'nightly'
+ uses: actions-rs/cargo@v1
+ with:
+ command: check
+
+ - name: Run cargo check (nightly)
+ if: matrix.rust == 'nightly'
+ continue-on-error: true
uses: actions-rs/cargo@v1
with:
command: check
@@ -49,6 +57,14 @@ jobs:
override: true
- name: Run cargo test
+ if: matrix.rust != 'nightly'
+ uses: actions-rs/cargo@v1
+ with:
+ command: test
+
+ - name: Run cargo test (nightly)
+ if: matrix.rust == 'nightly'
+ continue-on-error: true
uses: actions-rs/cargo@v1
with:
command: test