Skip to content

Update CI to latest pattern#22

Merged
puerco merged 1 commit intomainfrom
ci
Apr 6, 2026
Merged

Update CI to latest pattern#22
puerco merged 1 commit intomainfrom
ci

Conversation

@puerco
Copy link
Copy Markdown
Member

@puerco puerco commented Apr 6, 2026

This pull request updates the GitHub Actions workflows to improve Go version management, enhance permissions for releases, and update tooling versions. The main goals are to automate Go version selection, ensure workflows use the latest stable and previous Go versions, and align permissions and tool versions with best practices.

Go version management and workflow improvements:

  • Added a resolve-versions job to .github/workflows/go-build-and-test.yaml to dynamically determine and set up a matrix for the latest stable and previous Go versions, ensuring tests run against both. The Go cache was also disabled for these jobs to improve reliability.
  • Updated .github/workflows/golangci-lint.yaml to resolve and use the latest stable Go version dynamically for linting, and upgraded golangci-lint to version v2.11 for improved linting features.

Release workflow enhancements:

  • Improved .github/workflows/release.yaml by refining permissions (added id-token and attestations), updating the actions/setup-go version, and making the code checkout step more robust by specifying fetch-depth and disabling credential persistence.

Signed-off-by: Adolfo García Veytia (Puerco) <puerco@carabiner.dev>
@puerco puerco merged commit 2bf06ac into main Apr 6, 2026
4 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.

1 participant