Skip to content

Commit 90abadd

Browse files
committed
fix ci by committing Cargo.lock for MSRV
Added a Cargo.lock file for MSRV support to pin once_cell back to 1.14.0 artifically with `cargo update -p once_cell --precise 1.14.0` since it broke MSRV compat. See matklad/once_cell#201 for details and why it'll remain broken.
1 parent f062011 commit 90abadd

File tree

2 files changed

+580
-0
lines changed

2 files changed

+580
-0
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ jobs:
1313
rust:
1414
- rust: stable
1515
command: test
16+
args: ""
1617
- rust: 1.36.0
1718
command: check
19+
args: "--locked"
1820
runs-on: ubuntu-latest
1921
steps:
2022
- uses: actions/checkout@v2
@@ -23,9 +25,12 @@ jobs:
2325
profile: minimal
2426
toolchain: ${{ matrix.rust.rust }}
2527
override: true
28+
- run: mv Cargo.lock.msrv Cargo.lock
29+
if: ${{ matrix.rust.rust}} == 1.36.0
2630
- uses: actions-rs/cargo@v1
2731
with:
2832
command: ${{ matrix.rust.command }}
33+
args: ${{ matrix.rust.args }}
2934
fmt-clippy:
3035
runs-on: ubuntu-latest
3136
steps:

0 commit comments

Comments
 (0)