mirror of
https://github.com/danog/parser.git
synced 2024-11-27 04:14:55 +01:00
rustfmt CI check
This commit is contained in:
parent
eec4a90fe1
commit
17ee655bb7
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
@ -18,3 +18,18 @@ jobs:
|
||||
with:
|
||||
command: test
|
||||
args: -q
|
||||
|
||||
fmt:
|
||||
name: Format
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup component add rustfmt
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: -all -- --check
|
||||
|
Loading…
Reference in New Issue
Block a user