Skip to content

Apply cargo fmt after wave1 merges #2

Apply cargo fmt after wave1 merges

Apply cargo fmt after wave1 merges #2

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
lint-test:
name: Lint and test (Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt --check
- name: Clippy (deny warnings)
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Run tests
run: cargo test --workspace
# The release workflow already builds Windows binaries, so keep Windows
# compiling on every PR. Tests are only run on Linux for now.
build-windows:
name: Build (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Build workspace (including tests)
run: cargo build --workspace --all-targets