Browse Source

Add cargo fmt to the CI

pull/66/head
Rodolphe Bréard 2 years ago
parent
commit
a9b55ff788
  1. 10
      .github/workflows/ci.yml

10
.github/workflows/ci.yml

@ -34,6 +34,16 @@ jobs:
with: with:
command: test command: test
args: --verbose args: --verbose
formatting:
name: Cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
cargo-deny: cargo-deny:
name: Check dependencies name: Check dependencies
runs-on: ubuntu-latest runs-on: ubuntu-latest

Loading…
Cancel
Save