Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@23869a5bd66c73db3c0ac40331f3206eb23791dc # v2.9.1
- run: cargo test --lib
- run: cargo test --workspace

audit:
name: Audit
Expand Down
4 changes: 2 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Every PR must pass all jobs (defined in `.github/workflows/ci.yml`):
| Check | `cargo check -p codeframe-app --target wasm32-unknown-unknown` | Compile errors in the WASM target |
| Clippy | `cargo clippy --workspace --all-targets -- -D clippy::correctness -D clippy::suspicious` | Correctness and suspicious lints |
| Format | `cargo fmt --all --check` | Formatting drift |
| Test | `cargo test --lib` | Unit test failures |
| Test | `cargo test --workspace` | Unit, binary target, and doc test failures |
| Audit | `cargo audit` | Dependency advisories |
| Deny | `cargo deny check` | License + yanked-crate policy |
| Hex Audit | grep over `style.css` | Raw hex colors outside token definitions |
Expand All @@ -44,7 +44,7 @@ Run all checks locally before pushing:
```sh
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D clippy::correctness -D clippy::suspicious
cargo test --lib
cargo test --workspace
cargo check -p codeframe-app --target wasm32-unknown-unknown
trunk build --release
```
Expand Down
2 changes: 1 addition & 1 deletion docs/ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ shape are listed under "Out of Scope" so the line is drawn on purpose.
`highlighter` (syntect wrapper, framework-agnostic), `renderer` (Canvas2D
drawing, no Leptos), `app` (the only Leptos-aware crate).
- **CI** (`.github/workflows/ci.yml`): 10 jobs - `check` (WASM), `clippy`,
`fmt --check`, `test` (`cargo test --lib`), `cargo audit`, `cargo deny`,
`fmt --check`, `test` (`cargo test --workspace`), `cargo audit`, `cargo deny`,
`hex-audit` (no raw hex outside CSS tokens), `csp-verify` (validates the
CSP in `vercel.json`), gated `trunk build --release`, and `perf-budget`
(WASM gzipped ≤ 1200 KB, total bundle ≤ 1350 KB). SHA-pinned actions,
Expand Down
Loading