Skip to content

Commit

Permalink
Fix version of cargo-hack to 0.5.28
Browse files Browse the repository at this point in the history
The latest version of cargo-hack does no longer compile with our MSRV,
see https://github.com/rp-rs/rp-hal/actions/runs/5776719346/job/15656129384?pr=660

Version 0.5.28 did work:
https://github.com/rp-rs/rp-hal/actions/runs/5767856400/job/15640265924o

Therefore, lock the version we install in our workflow to that version.
  • Loading branch information
jannic committed Aug 7, 2023
1 parent c1f6c1c commit e16c596
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: cargo-hack
version: "=0.5.28"
- name: Build rp2040-hal's workspace (without the examples)
run: cargo hack build --optional-deps --each-feature
examples-builds:
Expand All @@ -27,6 +28,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: cargo-hack
version: "=0.5.28"
- name: Build workspace
run: cargo hack build --examples --optional-deps --each-feature
tests:
Expand All @@ -41,6 +43,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: cargo-hack
version: "=0.5.28"
- name: Test
run: cargo hack test -p rp2040-hal --tests --target x86_64-unknown-linux-gnu --optional-deps --each-feature --features critical-section-impl
- name: Test docs
Expand All @@ -64,6 +67,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: cargo-hack
version: "=0.5.28"
- name: Install cargo-udeps
uses: baptiste0928/cargo-install@v2
with:
Expand All @@ -84,6 +88,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: cargo-hack
version: "=0.5.28"
- name: Verifiy MSRV
run: cargo hack build --examples --optional-deps --each-feature
on-target-build:
Expand Down

0 comments on commit e16c596

Please sign in to comment.