diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml index 058e73781..1e564a7bf 100644 --- a/.github/workflows/rustfmt.yml +++ b/.github/workflows/rustfmt.yml @@ -8,7 +8,7 @@ jobs: uses: ./.github/workflows/cache-toolchain.yml fmt: - name: Rustfmt + name: check runs-on: ubuntu-latest needs: [ensure-toolchain] steps: @@ -20,7 +20,10 @@ jobs: run: | printf "\n" >> kernel/src/include/bindings/bindings.rs printf "\n" >> user/libs/libc/src/include/internal/bindings/bindings.rs - + + - name: Install rustfmt + run: rustup component add rustfmt + - name: Check format uses: actions-rs/cargo@v1 with: