Skip to content

Commit

Permalink
Add CI task for checking format,clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
daboross committed Mar 23, 2023
1 parent f752256 commit 32a4d90
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,15 @@ jobs:
toolchain: 1.59.0
override: true
- run: cargo build --features syslog-6
fmt_and_clippy:
name: Optional Lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo fmt --check
- run: cargo clippy --all-features --all-targets -- -D warnings

0 comments on commit 32a4d90

Please sign in to comment.