Skip to content

Commit c947307

Browse files
authored
warn rather than fail on nightly builds (#1340)
1 parent f442544 commit c947307

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,17 @@ jobs:
3636
runs-on: ubuntu-20.04
3737
needs:
3838
- msrv
39+
continue-on-error: ${{ matrix.experimental }}
3940
strategy:
4041
matrix:
4142
build:
4243
- stable
43-
- nightly
4444
- ${{ needs.msrv.outputs.msrv }}
45+
experimental:
46+
- false
47+
include:
48+
- build: nightly
49+
experimental: true
4550
steps:
4651
- uses: actions/checkout@v3
4752
- uses: Swatinem/rust-cache@v2
@@ -52,12 +57,17 @@ jobs:
5257
runs-on: ubuntu-20.04
5358
needs:
5459
- msrv
60+
continue-on-error: ${{ matrix.experimental }}
5561
strategy:
5662
matrix:
5763
build:
5864
- stable
59-
- nightly
6065
- ${{ needs.msrv.outputs.msrv }}
66+
experimental:
67+
- false
68+
include:
69+
- build: nightly
70+
experimental: true
6171
steps:
6272
- uses: actions/checkout@v3
6373
- uses: Swatinem/rust-cache@v2
@@ -73,12 +83,17 @@ jobs:
7383
runs-on: ubuntu-20.04
7484
needs:
7585
- msrv
86+
continue-on-error: ${{ matrix.experimental }}
7687
strategy:
7788
matrix:
7889
build:
7990
- stable
80-
- nightly
8191
- ${{ needs.msrv.outputs.msrv }}
92+
experimental:
93+
- false
94+
include:
95+
- build: nightly
96+
experimental: true
8297
steps:
8398
- uses: actions/checkout@v3
8499
- uses: Swatinem/rust-cache@v2
@@ -92,12 +107,17 @@ jobs:
92107
runs-on: ubuntu-20.04
93108
needs:
94109
- msrv
110+
continue-on-error: ${{ matrix.experimental }}
95111
strategy:
96112
matrix:
97113
build:
98114
- stable
99-
- nightly
100115
- ${{ needs.msrv.outputs.msrv }}
116+
experimental:
117+
- false
118+
include:
119+
- build: nightly
120+
experimental: true
101121
steps:
102122
- uses: actions/checkout@v3
103123
- uses: Swatinem/rust-cache@v2

0 commit comments

Comments
 (0)