ci: explicitly install rustfmt and clippy via rustup component add

This commit is contained in:
2026-03-09 20:41:46 -07:00
parent c94735ff70
commit e539dff62f
+3 -2
View File
@@ -19,7 +19,9 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
components: rustfmt, clippy
- name: Install rustfmt and clippy
run: rustup component add rustfmt clippy
- name: Build - name: Build
run: cargo build --release run: cargo build --release
@@ -45,7 +47,6 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
components: rustfmt, clippy
- name: Build release binary - name: Build release binary
run: cargo build --release run: cargo build --release