Align CI/CD and release automation with pgxschema#51
Merged
Conversation
- Bump actions/checkout to v6 and actions/setup-go to v6 - Add separate Vet job to CI workflow - Update golangci-lint to v2.11.4 - Update codecov-action to v5 with env-based token - Rename coverage output to coverage.txt - Rework release workflow to extract notes from CHANGELOG.md - Add module verification step (go build + go vet) to release - Use stricter semver tag pattern for releases - Remove outdated run.go setting from .golangci.yml - Add CHANGELOG.md (converted from README version history) Co-authored-by: Aaron Longwell <27492+adlio@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #51 +/- ##
=======================================
Coverage 99.79% 99.79%
=======================================
Files 10 10
Lines 483 483
=======================================
Hits 482 482
Misses 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request was generated by @kiro-agent 👻
Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent
Brings the
schemapackage's CI and release workflows in line with the patterns established inpgxschema.Changes
CI Workflow (
.github/workflows/ci.yml)actions/checkoutv4 → v6 andactions/setup-gov5 → v6go vet ./...) matching pgxschema's CI structuregolangci-lint-actionto use v2.11.4 with--timeout 2mcodecov-actionv4 → v5, move token toenvblockcoverage.outtocoverage.txtpermissions,concurrency, andtimeout-minutesblocks for cleaner configRelease Workflow (
.github/workflows/release.yml)v[0-9]+.[0-9]+.[0-9]+*go build+go vet) after release creationactions/checkout@v6andactions/setup-go@v6concurrencyandfetch-depthoverridesConfig & Documentation
.golangci.yml: Remove outdatedrun.go: '1.24'/timeoutblock (golangci-lint v2 handles this via CLI args)CHANGELOG.md: New file — full version history converted from README's "Version History" section into Keep a Changelog formatNot Changed
go.mod— already atgo 1.25.5, no update needed.golangci.yml— kept schema-specific linters (different from pgxschema due to multi-dialect SQL driver coverage)