Skip to content

ci: harden pipeline — drop failure:ignore, canonical rust template#14

Merged
BryanChasko merged 1 commit into
mainfrom
harden-pipeline
Apr 24, 2026
Merged

ci: harden pipeline — drop failure:ignore, canonical rust template#14
BryanChasko merged 1 commit into
mainfrom
harden-pipeline

Conversation

@BryanChasko
Copy link
Copy Markdown
Owner

summary

  • drops failure: ignore bandaid on test step
  • root cause: [[example]] in Cargo.toml references src/file_io/read_roster.rs (missing). fix is option (b): cargo test --lib --bins skips example targets
  • replaces monolithic step with fmt / clippy / build / test DAG per woodpecker-templates/rust.yaml
  • pins rust:1.87-slim, adds ca-certificates apt install per template hard rules
  • drops readme-lint step (clones external repo at runtime — fragile, not in canonical template)

test plan

  • pipeline triggers on PR merge to main
  • all four steps pass without failure: ignore
  • no --all-targets flag — examples excluded until src/file_io/read_roster.rs exists

🤖 Generated with Claude Code

- drop readme-lint step (clones external repo, fragile, not in template)
- split monolithic test step into fmt / clippy / build / test DAG
- use --lib --bins (not --all-targets) to skip [[example]] entries that
  reference non-existent src/file_io/read_roster.rs
- pin image to rust:1.87-slim, add ca-certificates apt install per template rules
- no failure: ignore anywhere

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@BryanChasko BryanChasko merged commit f1c571e into main Apr 24, 2026
0 of 2 checks passed
@BryanChasko BryanChasko deleted the harden-pipeline branch April 24, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant