Skip to content

Commit

Permalink
chore(ci): use msrv aware dependency resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Jan 16, 2025
1 parent 3817a79 commit 5f9595b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable

- name: Resolve MSRV aware dependencies
run: cargo update
env:
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: fallback

- name: Get MSRV from package metadata
id: msrv
run: grep rust-version Cargo.toml | cut -d'"' -f2 | sed 's/^/version=/' >> $GITHUB_OUTPUT
Expand All @@ -116,12 +123,6 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Pin some dependencies
run: |
cargo update -p tokio --precise 1.38.1
cargo update -p tokio-util --precise 0.7.11
cargo update -p hashbrown --precise 0.15.0
- name: Check
run: cargo check --features full

Expand Down

0 comments on commit 5f9595b

Please sign in to comment.