Skip to content

Commit

Permalink
ci: add clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishrock123 committed Jul 16, 2020
1 parent dd6a836 commit 6603ce1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
args: --all --no-default-features --features '${{ matrix.backend }} middleware-logger encoding'

check_fmt_and_docs:
name: Checking fmt and docs
name: Checking fmt, clippy, and docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand All @@ -58,6 +58,9 @@ jobs:
components: rustfmt, clippy
override: true

- name: clippy
run: cargo clippy -- -D warnings

- name: fmt
run: cargo fmt --all -- --check

Expand Down

0 comments on commit 6603ce1

Please sign in to comment.