Skip to content

ci: use only first-party actions and bump to latest pinned SHAs#1

Merged
MarshallOfSound merged 2 commits intomainfrom
sam/first-party-actions
Apr 9, 2026
Merged

ci: use only first-party actions and bump to latest pinned SHAs#1
MarshallOfSound merged 2 commits intomainfrom
sam/first-party-actions

Conversation

@MarshallOfSound
Copy link
Copy Markdown
Member

Replaces softprops/action-gh-release with the preinstalled gh CLI so the workflow only depends on actions/-namespaced actions:

  • Matrix build jobs now hand off binaries via actions/upload-artifact
  • A single release job (needs: build) downloads all artifacts and runs gh release create once, which also removes the create-race the per-matrix release step had

Also bumps to the latest SHA-pinned releases:

action before after
actions/checkout v4.2.2 v6.0.2
actions/setup-go v5.5.0 v6.4.0
actions/upload-artifact v7.0.0
actions/download-artifact v8.0.1

Replaces softprops/action-gh-release with the preinstalled gh CLI:
matrix build jobs now upload via actions/upload-artifact, and a single
release job downloads all artifacts and runs gh release create once,
avoiding the create-race the matrix had. Bumps actions/checkout to
v6.0.2, actions/setup-go to v6.4.0, and adds actions/upload-artifact
v7.0.0 and actions/download-artifact v8.0.1, all pinned to commit SHAs.
@MarshallOfSound MarshallOfSound requested a review from a team April 8, 2026 23:31
- Scope contents: write to the release job only; build job gets read
- Set persist-credentials: false on checkout
- Disable setup-go module caching on the release workflow
@MarshallOfSound MarshallOfSound merged commit 4c35023 into main Apr 9, 2026
3 checks passed
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.

2 participants