ci: install rustfmt and clippy for the toolchain
ci / checks (push) Successful in 17s
release / publish (push) Successful in 17s

Without a rust-toolchain file the action installs a minimal stable,
which carries neither component; the format step failed on the first
push. Name the two the job uses.
This commit is contained in:
vhaudiquet committed 2026-11-12 13:17:34 +01:00
1 parent a7e1de76ac
commit 462124014c
1 file changed
+4
+4
View File
@@ -13,7 +13,11 @@ jobs:
steps:
- uses: https://gitea.com/actions/checkout@v4
# Without a rust-toolchain file this installs a minimal stable,
# which carries neither component; the job uses both.
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
- name: Format
run: cargo fmt --all -- --check