fix(ci): move rustfmt install before ensure_cargo_component

This commit is contained in:
Argenis 2026-03-05 13:41:29 -05:00 committed by GitHub
parent 22ba4fd0ec
commit a0945b9df2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,19 +47,16 @@ jobs:
- name: Ensure C toolchain for Rust builds
shell: bash
run: ./scripts/ci/ensure_cc.sh
- name: Pre-install rustfmt and clippy
shell: bash
run: rustup component add rustfmt clippy --toolchain 1.92.0
- name: Ensure cargo component
- name: Ensure rustfmt and clippy components
shell: bash
run: rustup component add rustfmt clippy --toolchain 1.92.0
- name: Ensure cargo component
shell: bash
env:
ENSURE_CARGO_COMPONENT_STRICT: "true"
run: bash ./scripts/ci/ensure_cargo_component.sh 1.92.0
- name: Ensure rustfmt and clippy components
shell: bash
run: rustup component add rustfmt clippy --toolchain 1.92.0
- name: Activate toolchain binaries on PATH
shell: bash