ci: run clippy without actions-rs/clippy-check

actions-rs/clippy-check runs clippy with --message-format=json option
and converts the output into annotations.

This makes clippy output unreadable, it is JSON
and you cannot quickly find the line number to fix.

Annotations in the code review view look nice,
but on large PRs they are less usable because you need
to scroll the whole page to find all the annotations.
This commit is contained in:
link2xt
2023-01-26 12:36:22 +00:00
parent 7640e3255f
commit 9b3e21225c

View File

@@ -31,10 +31,7 @@ jobs:
override: true override: true
- name: Cache rust cargo artifacts - name: Cache rust cargo artifacts
uses: swatinem/rust-cache@v2 uses: swatinem/rust-cache@v2
- uses: actions-rs/clippy-check@v1 - run: cargo clippy --workspace --tests --examples --benches --features repl -- -D warnings
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace --tests --examples --benches --features repl -- -D warnings
docs: docs:
name: Rust doc comments name: Rust doc comments