Skip to content

Add Go CI for pull requests and tags - #5

Merged
jftuga merged 1 commit into
mainfrom
github-action
Oct 25, 2026
Merged

jftuga merged 1 commit into
mainfrom
github-action

Conversation

@jftuga

@jftuga jftuga commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Summary

Add a GitHub Actions workflow that runs when pull requests are opened, updated,
or reopened, and whenever a tag is pushed. Test against Go 1.17, the minimum
version declared in go.mod, and the latest stable Go release.

Both versions run go vet ./..., go build ./..., and
go test -race -cover -count=1 ./.... The stable Go job also checks formatting
with gofmt. The workflow uses read-only repository permissions, disables
persisted checkout credentials, and limits each job to ten minutes.

Validation

  • Local tests with race detection passed; library statement coverage is 98.6%.
  • go vet ./... and go build ./... passed locally.
  • Formatting and workflow YAML parsing checks passed.
  • Local checks used Go 1.27.3 on macOS ARM64; the GitHub Actions matrix has not yet run.

@jftuga
jftuga merged commit 3dd4825 into main Oct 25, 2026
2 checks passed
@jftuga
jftuga deleted the github-action branch October 25, 2026 04:53
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