Skip to content

windows-reactor seal internals and remove dead paths (#4827) #5574

windows-reactor seal internals and remove dead paths (#4827)

windows-reactor seal internals and remove dead paths (#4827) #5574

Workflow file for this run

name: clippy
permissions:
contents: read
on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'crates/libs/rdl/rdl.md'
- 'docs/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'crates/libs/rdl/rdl.md'
- 'docs/**'
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
clippy:
runs-on: windows-2025-vs2026
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Update toolchain
run: rustup update --no-self-update nightly && rustup default nightly-x86_64-pc-windows-msvc
- name: Add toolchain target
run: rustup target add x86_64-pc-windows-msvc
- name: Install clippy
run: rustup component add clippy
- name: Install rustfmt
run: rustup component add rustfmt
- name: Fix environment
uses: ./.github/actions/fix-environment
with:
target: x86_64-pc-windows-msvc
- uses: Swatinem/rust-cache@v2
- name: Check
# Exclusions (both due to --all-targets feature-unification across the workspace):
# test_no_std - unification pulls std into its no_std graph (duplicate panic_impl).
# windows-composition and its `system` consumers (test_composition, the composition
# samples) - windows-reactor now requires windows-composition's `reactor` stack, so the
# unified workspace build is reactor-primary. The `system` and `reactor` stacks are
# mutually exclusive (compile_error!), so the `system` side is linted in a separate
# pass.
run: cargo clippy --workspace --all-targets --exclude test_no_std --exclude windows-composition --exclude test_composition --exclude composition_standalone --exclude composition_minesweeper --exclude composition_canvas -- -D warnings
- name: Check composition system stack
# windows-composition and its `system` consumers, linted on their own so the `system` stack
# is exercised without conflicting with the reactor-primary workspace pass above.
run: cargo clippy -p windows-composition -p test_composition -p composition_standalone -p composition_minesweeper -p composition_canvas --all-targets -- -D warnings