1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00

Fix Cargo-Machete Workflow (#5745)

As cargo machete now uses rust edition2024 we cannot use the older rust
version - we need to install the newest on the runner

* [ ] I have followed the instructions in the PR template

---------

Co-authored-by: lucasmerlin <lucasmeurer96@gmail.com>
This commit is contained in:
Nicolas
2025-02-27 15:24:10 +01:00
committed by GitHub
parent 42a88b677c
commit 0521caed2e

View File

@@ -6,7 +6,13 @@ jobs:
cargo-machete:
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.85
- name: Machete install
run: cargo install cargo-machete --locked
- name: Checkout
uses: actions/checkout@v3
- name: Machete
run: cargo install cargo-machete --locked && cargo machete
uses: actions/checkout@v4
- name: Machete Check
run: cargo machete