Skip to content

Run formatting, vet and test checks in CI - #79

Merged
mapitman merged 1 commit into
mainfrom
chore/ci-checks
Oct 14, 2026
Merged

mapitman merged 1 commit into
mainfrom
chore/ci-checks

Conversation

@mapitman

Copy link
Copy Markdown
Owner
  • build.yml runs a gofmt -l check, go vet ./... and go test ./... before just build.
  • release.yml triggers only on semver tags. Existing tags have no v prefix (1.9.0), so the filter matches both 1.2.3 and v1.2.3.
  • actions/checkout@v7 exists (checked with gh api), so no version change.
  • Updates CLAUDE.md.

The new CI steps run on this PR, which is the first real check of them.

Closes #70

The build workflow only ran the goreleaser snapshot build, so tests, vet and formatting were never checked. Add a gofmt check, go vet and go test before the build.

Restrict the release workflow to semver tags. Existing tags have no v prefix (1.9.0), so a plain v* filter would have stopped releases; match both 1.2.3 and v1.2.3.

actions/checkout@v7 exists, so no version change is needed.

Closes #70
@mapitman
mapitman merged commit ec5f430 into main Oct 14, 2026
2 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.

Run go test, go vet and a gofmt check in CI

1 participant