1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: ci
# Test gate — the cargo-auto-release.yml reusable bumps + publishes but does
# NOT run tests (publish is no-verify), so this workflow is the repo's
# `cargo test` gate. clippy is informational per the fleet pattern; pedantic
# warnings are advisory, not gates. Dependent crates green once their suite
# deps land on crates.io (path-dep bootstrap order).
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
name: cargo test + clippy + fmt (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: cargo fmt --check
run: cargo fmt --all -- --check
- name: cargo clippy (informational)
run: cargo clippy --all-targets
continue-on-error: true
- name: cargo test
run: cargo test --all-targets