Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: rewrite #24

Merged
merged 2 commits into from
Jul 14, 2024
Merged

ci: rewrite #24

merged 2 commits into from
Jul 14, 2024

Conversation

loichyan
Copy link
Owner

@loichyan loichyan commented Jul 14, 2024

The GitHub workflow has been completely rewritten, the detailed changes are as follows:

  1. Deprecates our own Cargo cache implementation in favor of Swatinem/rust-cache.
  2. Adds formatting, Clippy, RustSec Advisory, MSRV, and nightly toolchain checks.
  3. Reports check results as GitHub annotations.
  4. Adds more release targets, now including:
    • aarch64-apple-darwin
    • aarch64-pc-windows-msvc
    • aarch64-unknown-linux-musl
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-freebsd
    • x86_64-unknown-linux-musl
  5. Automates the release workflow:
    1. Create a release branch, e.g. release/v1.0.0.
    2. Bump versions and update changelogs.
    3. Open a PR release/v1.0.0 -> main with the changelog as the body.
    4. Wait for the builds to finish.
    5. The GitHub action creates a draft GitHub release with v1.0.0 as the tag and the PR body as the notes and uploads all artifacts.
    6. Merge the PR.
    7. (Optional) Create a signed tag v1.0.0, or let GitHub do it automatically.
    8. Publish the GitHub release.

@loichyan loichyan merged commit 04d0c12 into main Jul 14, 2024
8 checks passed
@loichyan loichyan deleted the ci/rewrite branch July 14, 2024 10:09
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