Skip to content

Commit

Permalink
Update rust.yml to install rustfmt
Browse files Browse the repository at this point in the history
The ci errors indicate that the toolchain installation doesn't install rustfmt. This installs it just before it is invoked.
  • Loading branch information
kyanha authored and FlorianUekermann committed Dec 28, 2024
1 parent 8a75709 commit ffe3292
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: rustup component add clippy
- run: rustup component add rustfmt
- run: cargo fmt --check
- run: cargo build --verbose --no-default-features --features ${{ matrix.crypto }},${{ matrix.tokio }}
- run: cargo test --verbose --no-default-features --features ${{ matrix.crypto }},${{ matrix.tokio }}
- run: cargo clippy --tests --no-default-features --features ${{ matrix.crypto }},${{ matrix.tokio }}
- run: cargo clippy --tests --no-default-features --features ${{ matrix.crypto }},${{ matrix.tokio }}

0 comments on commit ffe3292

Please sign in to comment.