Skip to content

Commit

Permalink
Lock tokio version in MSRV CI tests
Browse files Browse the repository at this point in the history
Starting with v1.39, tokio bumped its MSRV to Rust 1.70. This causes the
MSRV pipeline to fail unless we manually lock the tokio version.
  • Loading branch information
TheJokr committed Jul 26, 2024
1 parent 036b6c9 commit 41a1cb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ jobs:
run: rustup default 1.66
- uses: Swatinem/rust-cache@v2

- name: Lock dependencies for MSRV
run: cargo update --precise 1.38.1 tokio
- name: Run unit tests
run: cargo test --all-features -- --color=always
run: cargo test --locked --all-features -- --color=always

- name: Run end-to-end tests
if: inputs.test-all || github.event_name == 'schedule'
Expand Down

0 comments on commit 41a1cb4

Please sign in to comment.