From 11699b439126744ad918a1c6b90e73cb24da868d Mon Sep 17 00:00:00 2001 From: datdenkikniet Date: Sat, 22 Mar 2025 23:55:32 +0100 Subject: rtic: placate clippy for esp32c3 --- .github/workflows/clippy-check-example.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to '.github/workflows/clippy-check-example.yml') 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 -- cgit v1.2.3