Skip to content

ci: add workflow running vet, fmt check and tests on push/PR#27

Open
Jaro-c wants to merge 1 commit into
newcore-network:developfrom
Jaro-c:ci/add-workflow
Open

ci: add workflow running vet, fmt check and tests on push/PR#27
Jaro-c wants to merge 1 commit into
newcore-network:developfrom
Jaro-c:ci/add-workflow

Conversation

@Jaro-c

@Jaro-c Jaro-c commented Jul 18, 2026

Copy link
Copy Markdown

I noticed there was only publish.yml, triggered on push: tags: ["v*"] — nothing ran on push/PR to master or develop. Code was merging with no lint/vet/test check, and the only test run (go test ./...) in the existing workflow is gated behind if: matrix.isPublisher, so it only executes for the windows-amd64 matrix leg — linux and darwin builds never ran tests, even at release time.

Added a ci.yml that runs on PR/push to master and develop: gofmt -l check, go vet ./..., and go test ./.... Repo is already clean on both fronts (go vet and gofmt -l had no output before this change).

Closes #19, closes #20.

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