Skip to content

ci: adopt shared rust-ci workflow for farp-rust - #23

Merged
juicycleff merged 1 commit into
mainfrom
ci/shared-rust-workflow
Aug 1, 2026
Merged

ci: adopt shared rust-ci workflow for farp-rust#23
juicycleff merged 1 commit into
mainfrom
ci/shared-rust-workflow

Conversation

@juicycleff

Copy link
Copy Markdown
Contributor

Summary

  • Replace farp's inline rust-test job with a call to xraph/workflows/.github/workflows/rust-ci.yml@v1, using working-directory: farp-rust.
  • run-extended is gated to pushes on main only.
  • skip-audit: truefarp-rust is a library crate and its Cargo.lock is intentionally gitignored, so there is no lockfile for cargo audit to check.

Dropped capability (recorded, not silent)

The old job ran cargo tarpaulin for coverage under continue-on-error: true. rust-ci.yml has no coverage job. Since that step could never fail the build, it wasn't gating anything — dropping it is a deliberate decision, not a silent loss. A shared tarpaulin/coverage job for rust-ci.yml is tracked as a follow-up if farp or octopus want it back.

Scope

Only the rust-test job in .github/workflows/ci.yml changes. Go jobs, CodeQL, badges.yml, and release.yml's semantic-release pipeline are untouched.

Test plan

  • actionlint shows no new findings introduced by this diff (pre-existing shellcheck findings in release.yml are unrelated and predate this change)
  • Local cargo fmt --all -- --check and cargo clippy --all-targets --all-features -- -D warnings pass in farp-rust, matching the stricter flags used by rust-ci.yml
  • CI: rust-test (lint, audit-skip, test) passes
  • Go, CodeQL jobs unaffected

Replace the inline rust-test job (dtolnay toolchain, cargo fmt/clippy/
test/tarpaulin/doc, guarded by a check_cargo step) with a call to
xraph/workflows/.github/workflows/rust-ci.yml@v1.

- working-directory: farp-rust (the crate exists unconditionally, so
  the check_cargo guard is dropped)
- run-extended only on pushes to main
- skip-audit: true, since farp-rust is a library crate and its
  Cargo.lock is intentionally gitignored (no lockfile to audit)

Dropped: cargo tarpaulin coverage, which ran under
continue-on-error: true and therefore never gated the job. rust-ci.yml
has no coverage job; this is a deliberate, recorded loss of that
capability, not a silent one.
@juicycleff
juicycleff merged commit f52352c into main Aug 1, 2026
9 of 13 checks passed
@juicycleff
juicycleff deleted the ci/shared-rust-workflow branch August 1, 2026 17:53
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.3.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant