Skip to content

Commit 679a611

Browse files
committed
ci: run cargo-cargofmt
1 parent 977c7aa commit 679a611

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,14 @@ jobs:
7676
name: Format
7777
runs-on: ubuntu-latest
7878
steps:
79+
- uses: dtolnay/rust-toolchain@stable
80+
- run: cargo install cargo-cargofmt
7981
- uses: actions/checkout@v6
8082
- uses: mkroening/rust-toolchain-toml@main
8183
- run: rustup component add rustfmt
8284
- run: |
83-
cargo fmt --all --check
84-
cargo fmt --all --check --manifest-path hermit-builtins/Cargo.toml
85+
cargo cargofmt --all --check
86+
cargo cargofmt --all --check --manifest-path hermit-builtins/Cargo.toml
8587
8688
lock-file:
8789
name: Lock file

0 commit comments

Comments
 (0)