Skip to content

Commit 75847d1

Browse files
committed
ci: Add Cargo.lock that works with Rust 1.31 (MSRV)
1 parent 583f2f4 commit 75847d1

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- uses: dtolnay/rust-toolchain@master
2828
with:
2929
toolchain: ${{ matrix.rust }}
30+
- name: Use MSRV Cargo.lock
31+
run: cp Cargo.lock.msrv Cargo.lock
32+
if: matrix.rust == '1.31.0'
3033
- name: cargo fmt --all -- --check
3134
run: |
3235
rustup component add rustfmt-preview

Cargo.lock.msrv

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)