Skip to content

Commit

Permalink
fix ci by committing Cargo.lock for MSRV
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cardoe committed Nov 4, 2022
1 parent f062011 commit 1d2021e
Show file tree
Hide file tree
Showing 2 changed files with 580 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -13,8 +13,10 @@ jobs:
rust:
- rust: stable
command: test
args: ""
- rust: 1.36.0
command: check
args: "--locked"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -23,9 +25,12 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust.rust }}
override: true
- run: mv Cargo.lock.msrv Cargo.lock
if: ${{ matrix.rust.rust}} == 1.36.0
- uses: actions-rs/cargo@v1
with:
command: ${{ matrix.rust.command }}
args: ${{ matrix.rust.args }}
fmt-clippy:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 1d2021e

Please sign in to comment.