Add workflow job to check formatting
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
c689b8390c
commit
346ac52f30
|
@ -40,3 +40,14 @@ jobs:
|
|||
components: clippy
|
||||
- run: cargo clippy -- -D warnings
|
||||
|
||||
fmt:
|
||||
needs: [build]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.65.0
|
||||
components: rustfmt
|
||||
- run: cargo fmt --check
|
||||
|
||||
|
|
Loading…
Reference in New Issue