Skip to content

Commit 91f8e7d

Browse files
committed
use pixi environment for cargo test
1 parent b986831 commit 91f8e7d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/reusable_checks_rust.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,10 @@ jobs:
100100
workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }}
101101
service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}
102102

103-
- name: cargo test --all-targets --all-features
104-
run: cargo test --all-targets --all-features
103+
# Building with `--all-features` requires extra build tools like `nasm`.
104+
- uses: prefix-dev/setup-pixi@v0.8.1
105+
with:
106+
pixi-version: v0.25.0
107+
108+
- name: pixi run cargo test --all-targets --all-features
109+
run: pixi run cargo test --all-targets --all-features

0 commit comments

Comments
 (0)