feat(CI): Add clippy check to workflow.

This commit is contained in:
tempdragon 2024-03-16 12:05:56 +08:00
parent 390f9064e1
commit f6cab2cd1e

View File

@ -52,6 +52,9 @@ jobs:
- name: Install rustfmt
run: rustup component add rustfmt
- name: Install clippy
run: rustup component add clippy
- name: Download artifact
run: curl -LO https://github.com/antoyo/gcc/releases/latest/download/${{ matrix.libgccjit_version.gcc }}
@ -98,6 +101,11 @@ jobs:
- name: Check formatting
run: cargo fmt -- --check
- name: clippy
run: |
cargo clippy --all-targets -- -D warnings
cargo clippy --all-targets --features master -- -D warnings
duplicates:
runs-on: ubuntu-latest
steps: