name: ci on: push: branches: [main] pull_request: permissions: contents: read jobs: check: name: fmt-clippy-test-windows-x64 runs-on: windows-latest steps: - uses: actions/checkout@v4 - name: Install Rust toolchain (pinned by rust-toolchain.toml) uses: dtolnay/rust-toolchain@nightly with: components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 - run: cargo fmt --all -- --check - run: cargo clippy --workspace --all-targets -- -D warnings - run: cargo test --workspace