Skip to content

Commit ee0bfee

Browse files
committed
Merge branch 'main' into pr/pinin4fjords/43
2 parents d4a382b + 1663e61 commit ee0bfee

39 files changed

Lines changed: 1604 additions & 1347 deletions

.github/workflows/ci.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494

9595
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # ratchet:Swatinem/rust-cache@v2.9.1
9696

97-
- run: cargo clippy -- -D warnings
97+
- run: cargo clippy --all-targets -- -D warnings
9898

9999
msrv:
100100
name: MSRV check
@@ -120,3 +120,20 @@ jobs:
120120
- uses: rustsec/audit-check@v2
121121
with:
122122
token: ${{ secrets.GITHUB_TOKEN }}
123+
124+
# Check that all tests defined above pass. This makes it easy to set a single "required" test in branch
125+
# protection instead of having to update it frequently. See https://github.com/re-actors/alls-green#why.
126+
check:
127+
name: Checks pass
128+
if: always()
129+
needs:
130+
- test
131+
- fmt
132+
- clippy
133+
- msrv
134+
- audit
135+
runs-on: ubuntu-latest
136+
steps:
137+
- uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # ratchet:re-actors/alls-green@v1.2.2
138+
with:
139+
jobs: ${{ toJSON(needs) }}

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"rust-analyzer.check.command": "clippy",
3+
"[rust]": {
4+
"editor.formatOnSave": true,
5+
"editor.defaultFormatter": "rust-lang.rust-analyzer"
6+
}
7+
}

CLAUDE.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ The primary goal is a faithful port — matching the original STAR behavior as c
2020
Rust 2024 edition. Standard Cargo commands:
2121

2222
```bash
23-
cargo build # Debug build
24-
cargo build --release # Release build
25-
cargo test # Run all tests
26-
cargo test <name> # Run a single test by name
27-
cargo clippy # Lint
28-
cargo fmt # Format code
23+
cargo build # Debug build
24+
cargo build --release # Release build
25+
cargo test # Run all tests
26+
cargo test <name> # Run a single test by name
27+
cargo clippy --all-targets # Lint
28+
cargo fmt # Format code
2929
```
3030

31-
Always run `cargo clippy`, `cargo fmt --check`, and `cargo test` before considering a phase complete.
31+
Always run `cargo clippy --all-targets`, `cargo fmt --check`, and `cargo test` before considering a phase complete.
3232

3333
## Current Status
3434

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
Rust 2024 edition. Standard Cargo commands:
66

77
```bash
8-
cargo build # debug build
9-
cargo build --release # release build
10-
cargo test # run all tests
11-
cargo clippy # lint (zero warnings expected)
12-
cargo fmt --check # formatting check
8+
cargo build # debug build
9+
cargo build --release # release build
10+
cargo test # run all tests
11+
cargo clippy --all-targets # lint (zero warnings expected)
12+
cargo fmt --check # formatting check
1313
```
1414

1515
CI runs on Linux (x86_64, x86-64-v3, aarch64), macOS (aarch64), and Windows (x86_64). PRs must pass all CI checks before merging.

0 commit comments

Comments
 (0)