Skip to content

style: rustfmt the new resolver range tests #14

style: rustfmt the new resolver range tests

style: rustfmt the new resolver range tests #14

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
# Least privilege: CI only reads the repo (build/test/lint), no write scopes.
permissions:
contents: read
jobs:
test:
name: build + test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Install Rust
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
with:
components: rustfmt, clippy
- name: Cache cargo
uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- name: Format check
run: cargo fmt --all -- --check
- name: Build
run: cargo build --workspace --locked
- name: Test
run: cargo test --workspace --locked
# Clippy is advisory for now (the tree has pre-existing lints); it surfaces
# issues without blocking. Tighten to a hard gate once the backlog is clear.
- name: Clippy (advisory)
continue-on-error: true
run: cargo clippy --workspace --all-targets