Skip to content

Conversation

@martinemde
Copy link
Contributor

Summary

  • Add cosign binary signing to GitHub Actions release workflow
  • Add cargo-audit security scanning as release gate
  • Add cargo-dist for automated binary distribution
  • Add release-plz automation for changelog and version management

Changes

  • Security: cosign signing for release binaries
  • Security: cargo-audit scanning in CI pipeline
  • Distribution: cargo-dist for cross-platform binary builds
  • Automation: release-plz for changelog and version management

Test Plan

  • Local validation of all configurations
  • CI workflow testing on draft PR
  • End-to-end release process validation

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Uses sigstore/cosign-installer@v3 with keyless signing via GitHub OIDC.
Both upload-mac-universal-bin and upload-linux-bin jobs now:
- Install cosign
- Sign release artifacts with cosign sign-blob
- Upload .sig signature files alongside tarballs

Artifacts signed:
- pks-mac.tar.gz (macOS universal)
- x86_64-unknown-linux-gnu.tar.gz
- aarch64-unknown-linux-gnu.tar.gz
Integrates cargo-audit into the CI workflow as a required check that
must pass before releases can proceed. Also updates the standalone
audit.yml to use modern cargo-audit tooling instead of the deprecated
actions-rs/audit-check action.

- Add security-audit job to ci.yml
- Make release job depend on security-audit passing
- Update audit.yml to use cargo-audit directly with actions/checkout@v4
- Add release-plz.yml workflow that creates release PRs with version
  bumps and changelog updates from conventional commits
- Add release-binaries.yml workflow triggered on release publish to
  build and upload macOS/Linux binaries and DotSlash files
- Update ci.yml to remove manual release logic (now handled by
  release-plz) and upgrade checkout actions to v4
- Add release-plz.toml config for changelog generation without
  crates.io publishing
Configure cross-platform release builds targeting x86_64/aarch64 for
Linux and macOS, with shell and PowerShell installers. GitHub Actions
workflow will trigger on version tags.
* polecat/slit-mk4fwcm9:
  Initialize cargo-dist for automated binary distribution
* polecat/furiosa-mk4fvdy1:
  Add cosign binary signing to GitHub Actions release workflow
* polecat/nux-mk4fvufs:
  Add cargo-audit security scanning as release gate
@martinemde
Copy link
Contributor Author

Closing this PR in favor of atomic, separate PRs for each feature:

  • pks-yzb: Add cargo-dist for automated binary distribution
  • pks-ydm: Add cosign binary signing to GitHub Actions
  • pks-7ah: Add cargo-audit security scanning to CI
  • pks-273: Add release-plz automation for changelog management

This approach provides better review granularity and reduces merge conflicts.

@martinemde martinemde closed this Jan 7, 2026
@github-project-automation github-project-automation bot moved this from Triage to Done in Modularity Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants