Closed FantasyTeddy closed 3 months ago
Hey there, thank you so much for the pull request. :)
Regarding the job approach, to me it seems inefficient splitting what could remain a simple step into two jobs that duplicate two steps: checking out the repository and initializing the toolchain. In total, this results in three separate checkouts and toolchain installations.
Okay, I see your point. I merged the two jobs into one.
Thank you @FantasyTeddy!
These are the same changes already applied to
macchina
: Macchina-CLI/macchina#311 & Macchina-CLI/macchina#313actions-rs
with dtolnay/rust-toolchain and explicit calls to the respectivecargo
/cross
commands.cargo fmt
andcargo clippy
steps into their own jobs.clippy
on warnings (required some minor code changes).