CI: trim workflow comments
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -20,11 +20,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
# Rust version AND components (rustfmt, clippy) come from rust-toolchain.toml,
|
# Toolchain version + components come from rust-toolchain.toml. rustflags is
|
||||||
# the single source of truth shared with local dev. Nothing is pinned here, so
|
# cleared so plain builds don't fail on warnings; the clippy hook still does.
|
||||||
# CI can never drift from the toolchain developers (and the prek hooks) use.
|
|
||||||
# rustflags is cleared so a plain `cargo build`/`cargo test` keeps its previous
|
|
||||||
# behavior; the clippy hook still enforces `-D warnings` on lints.
|
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
with:
|
with:
|
||||||
rustflags: ''
|
rustflags: ''
|
||||||
@@ -32,17 +29,14 @@ jobs:
|
|||||||
- name: Install SQLite3
|
- name: Install SQLite3
|
||||||
run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev
|
run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev
|
||||||
|
|
||||||
# `just` drives the prek recipes; `mise` provides the pinned prek (mise.toml).
|
# just drives the prek recipes; mise provides the pinned prek (mise.toml).
|
||||||
- uses: taiki-e/install-action@v2
|
- uses: taiki-e/install-action@v2
|
||||||
with:
|
with:
|
||||||
tool: just
|
tool: just
|
||||||
- uses: jdx/mise-action@v2
|
- uses: jdx/mise-action@v2
|
||||||
|
|
||||||
# Run the exact hook suite developers run locally: file hygiene, `cargo fmt
|
# Run the same prek hooks devs run locally; .pre-commit-config.yaml is the
|
||||||
# --all -- --check`, and `cargo clippy -- -D warnings`. The hook config in
|
# source of truth. Tests are a separate step for visible timing.
|
||||||
# .pre-commit-config.yaml is the single source of truth for what gets checked.
|
|
||||||
# The slow test hook is split out into its own step below so the Actions UI
|
|
||||||
# surfaces its timing separately.
|
|
||||||
- name: Lint & format (prek hooks, excluding tests)
|
- name: Lint & format (prek hooks, excluding tests)
|
||||||
run: just prek-run-on-all --skip test-unit
|
run: just prek-run-on-all --skip test-unit
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user