Skip to content
Myr

Add clippy run in CI/CD

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent 4377954 · Browse files · 1 file+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−0 removed

  • other:+7 added−0 removed

1 file+7 added−0 removed

modified:.github/workflows/CICD.yml+7 added
44 unmodified lines
45 runs-on: ubuntu-20.0446 steps:47 - name: Checkout source code48 uses: actions/checkout@v24950 - name: Install rust toolchain (v${{ env.MIN_SUPPORTED_RUST_VERSION }})51 uses: actions-rs/toolchain@v152 with:53 toolchain: ${{ env.MIN_SUPPORTED_RUST_VERSION }}54 default: true55 components: clippy56 - name: Run clippy (on minimum supported rust version to prevent warnings we can't fix)57 uses: actions-rs/cargo@v158 with:59 command: clippy60 args: --locked --all-targets --all-features61 profile: minimal # minimal component installation (ie, no documentation)62 - name: Run tests63 uses: actions-rs/cargo@v164 with:
300 unmodified lines