Skip to content

chore(ci): modernize test and release toolchains - #325

Open
illuminati1911 wants to merge 4 commits into
masterfrom
ci/modernize-test-release-tooling
Open

illuminati1911 wants to merge 4 commits into
masterfrom
ci/modernize-test-release-tooling

Conversation

@illuminati1911

@illuminati1911 illuminati1911 commented Dec 3, 2026 •

Copy link
Copy Markdown

Issue

The release workflow still installs Node.js 14, which is end-of-life. The test and release workflows also use older GitHub Actions versions. The release process should not depend on a Node.js version that no longer receives fixes.

Fix

Update the workflow actions and run releases on Node.js 24. Run pinned versions of semantic-release and its plugins directly with npm exec: an updated wrapper treated an npm update notice as a failure even though installation succeeded.

Pin all five action references to full commit SHAs and limit the default Actions token in both workflows to contents: read. The separate release credential, release branch, Go build and test commands, coverage report, and supported Go versions remain unchanged.

Verification

actionlint passed for both workflows. The Go build, a race-enabled smoke test, and coverage-profile parsing passed. Verified the pinned release CLI and plugins on Node.js 24.

The hosted Go build and race tests and the GitHub Actions security scan passed.

Codecov attempted to upload coverage, but rejected the upload with Token required because branch is protected. This did not fail the CI job. Release publishing has not been tested.


Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open a GitHub issue as a bug/feature request before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #324 🦕

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.

CI: update outdated test actions and Node.js release tooling

1 participant