Skip to content

Commit

Permalink
add clippy to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Jun 25, 2020
1 parent 2c26085 commit efe2579
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
args: --all --features unstable

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 @@ -78,9 +78,12 @@ jobs:

- name: setup
run: |
rustup component add rustfmt
rustup component add clippy rustfmt
rustc --version
- name: clippy
run: cargo clippy -- -D warnings

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

Expand Down

0 comments on commit efe2579

Please sign in to comment.