diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 58c271b3a..6c16f5a39 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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