Skip to content

Commit fb64cec

Browse files
committed
Fix GitHub Actions for examples when running locally.
Signed-off-by: Piotr Sikora <[email protected]>
1 parent 3f4274e commit fb64cec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ jobs:
307307
./rustup-init.sh -y
308308
rm rustup-init.sh
309309
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
310+
export PATH=$PATH:$HOME/.cargo/bin
311+
cargo install cargo-audit
312+
cargo install cargo-outdated
310313
311314
- name: Update Rust
312315
run: |
@@ -368,9 +371,12 @@ jobs:
368371
run: |
369372
curl -OL https://static.rust-lang.org/rustup/rustup-init.sh
370373
chmod +x ./rustup-init.sh
371-
./rustup-init.sh -y
374+
./rustup-init.sh -y --default-toolchain nightly
372375
rm rustup-init.sh
373376
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
377+
export PATH=$PATH:$HOME/.cargo/bin
378+
cargo install cargo-audit
379+
cargo install cargo-outdated
374380
375381
- name: Update Rust
376382
run: |

0 commit comments

Comments
 (0)