diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 186ec39d..05de5533 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,7 @@ jobs: env: TERM: xterm-256color run: | + rustup component add rustfmt cargo fmt --all -- --check step-enum-sorted: @@ -96,7 +97,9 @@ jobs: run: ${{ matrix.use_cross == true && 'cross' || 'cargo' }} check --locked --target ${{ matrix.target }} - name: Run cargo/cross clippy - run: ${{ matrix.use_cross == true && 'cross' || 'cargo' }} clippy --locked --target ${{ matrix.target }} --all-features -- -D warnings + run: | + rustup component add clippy + ${{ matrix.use_cross == true && 'cross' || 'cargo' }} clippy --locked --target ${{ matrix.target }} --all-features -- -D warnings - name: Run cargo test # ONLY run test with cargo