Repository navigation
VIctory Windows Playability Package (Waves 6–9 + Upstream Sync) #48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| runs-on: windows-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # The version and components pinned in rust-toolchain.toml. | |
| - run: rustup toolchain install | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Clippy | |
| run: cargo clippy --workspace --all-targets --locked -- -D warnings | |
| - name: Clippy, diagnostics build | |
| run: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings | |
| # Includes xtask's repository_passes_policy, the asset-policy check. | |
| - name: Tests | |
| run: cargo test --workspace --locked |