Skip to content

fix snapshots

fix snapshots #8

Workflow file for this run

# PR / push gate.
#
# Catches regressions WE introduce: formatting, lints, and the full test suite
# (unit, contract-compliance, determinism snapshots). Runs on every push to the
# default branch and on every pull request. This is distinct from the scheduled
# maintenance gate (scheduled-smoke.yml), which catches external drift in the
# generated projects' real builds.
name: ci
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache cargo build
uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Test
run: cargo test --all-targets