Skip to content

Commit

Permalink
rustfmt and clippy on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowone authored and progval committed Mar 2, 2023
1 parent d8ffbb9 commit d121f8a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,25 @@ jobs:
with:
command: doc
args: --verbose ${{ matrix.features }} --manifest-path=generator/Cargo.toml
lint:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
override: true
- name: rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: ${{ matrix.default }} -- -Dwarnings

0 comments on commit d121f8a

Please sign in to comment.