Skip to content

ci: GitHub Actions — CI on PRs + automated releases on tags#2

Merged
marlonmotta merged 1 commit intomainfrom
ci/github-actions
Mar 14, 2026
Merged

ci: GitHub Actions — CI on PRs + automated releases on tags#2
marlonmotta merged 1 commit intomainfrom
ci/github-actions

Conversation

@marlonmotta
Copy link
Copy Markdown
Owner

🤖 GitHub Actions CI/CD

What this adds

  • ci.yml — Runs on every PR and push to main:

    • cargo check (compile errors)
    • cargo test (unit tests)
    • cargo build --release (full build)
    • Shows binary size
  • release.yml — Runs when you push a tag v*:

    • Builds release binary on Windows
    • Creates GitHub Release automatically
    • Uploads snapcodex.exe as downloadable asset
    • Generates release notes from commits

How to use (after merge)

To create a new release, just:

git tag v0.5.0
git push origin v0.5.0

GitHub will automatically build and publish the release. 🚀

- ci.yml: check, test, and build on every PR and push to main

- release.yml: build and create GitHub Release with exe on tag push (v*)
@marlonmotta marlonmotta merged commit 07273b9 into main Mar 14, 2026
1 check passed
@marlonmotta marlonmotta deleted the ci/github-actions branch March 14, 2026 08:13
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