diff options
Diffstat (limited to '.github/workflows/clippy-check-example.yml')
| -rw-r--r-- | .github/workflows/clippy-check-example.yml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/.github/workflows/clippy-check-example.yml b/.github/workflows/clippy-check-example.yml index 5d44614..e1a5f62 100644 --- a/.github/workflows/clippy-check-example.yml +++ b/.github/workflows/clippy-check-example.yml @@ -53,4 +53,22 @@ jobs: uses: Swatinem/rust-cache@v2 - name: Check the examples - run: cargo xtask example-check --platform ${{ inputs.platform }} --backend ${{ inputs.backend }} ${{ inputs.example-args }}
\ No newline at end of file + run: cargo xtask example-check --platform ${{ inputs.platform }} --backend ${{ inputs.backend }} ${{ inputs.example-args }} + + clippy: + runs-on: ubuntu-22.04 + name: Run clippy + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Configure Rust target ${{ inputs.rustup-target }} + run: rustup target add ${{ inputs.rustup-target }} + + - name: Add Rust component clippy + run: rustup component add clippy + + - name: Cache Dependencies + uses: Swatinem/rust-cache@v2 + + - run: cargo xtask --deny-warnings --platform ${{ inputs.platform }} --backend ${{ inputs.backend }} clippy
\ No newline at end of file |
