Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add clippy to ci #618

Merged
merged 1 commit into from
Jun 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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