Skip to content

Commit

Permalink
Downgrade packages for MSRV using newer cargo
Browse files Browse the repository at this point in the history
This works-around rust-lang/cargo#13542
  • Loading branch information
GREsau committed Jan 24, 2025
1 parent d348845 commit 5d9c4b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Downgrade packages for MSRV
if: matrix.rust == '1.70.0'
run: |
Expand All @@ -35,6 +32,9 @@ jobs:
cargo add --dev [email protected]
cargo update url --precise 2.5.2
working-directory: ./schemars
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Check with no feature flags
run: cargo check --verbose --no-default-features
continue-on-error: ${{ matrix.allow_failure }}
Expand Down

0 comments on commit 5d9c4b5

Please sign in to comment.