Skip to content

Treat warnings as errors and parallelize clippy/test jobs - #14

Merged
popen2 merged 1 commit into
mainfrom
claude/ci-warnings-as-errors
May 28, 2026
Merged

popen2 merged 1 commit into
mainfrom
claude/ci-warnings-as-errors

Conversation

@popen2

@popen2 popen2 commented May 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Set RUSTFLAGS=-D warnings in the test workflow so any rustc or clippy warning fails CI. With that, the explicit -- -D warnings clippy suffix is no longer needed; a single matrix step runs cargo hack ${{ matrix.task }} --feature-powerset [...].
  • Expand the test matrix to {profile} x {task} so clippy and test runs execute as 4 parallel jobs instead of serializing within one.
  • Drop unused mod fake_db; from tests/v1beta{1,2}_values_bad.rs — the dead_code warnings on TestDb/TestDbError would otherwise fail under -D warnings, and we want to avoid #[allow(dead_code)].
  • Bump actions/checkout to v6 in both workflows (resolves the Node 20 deprecation warning).

Test plan

  • All four matrix jobs (clippy/test × debug/release) pass on this PR

- Set RUSTFLAGS=-D warnings on the test workflow so any rustc/clippy
  warning fails CI. The explicit `-- -D warnings` clippy suffix is now
  redundant; one matrix step runs `cargo hack ${task}` selected by
  matrix.task.
- Expand the matrix to {profile} x {task} so clippy and test runs run
  in parallel across 4 jobs instead of serializing within one.
- Drop unused `mod fake_db;` from the v1beta{1,2}_values_bad tests; the
  dead_code warnings on TestDb/TestDbError would otherwise fail under
  -D warnings.
- Bump actions/checkout to v6 in both workflows (resolves the Node 20
  deprecation notice).
@popen2
popen2 merged commit 606ac0d into main May 28, 2026
6 checks passed
@popen2
popen2 deleted the claude/ci-warnings-as-errors branch May 28, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant