See the go.mod
file for the version of Go used for development.
Commits pushed to the default branch will be linted and tested. You can run the linter locally before pushing a commit by installing golangci-lint
(see the test.yml
workflow file for the exact version):
golangci-lint run -verbose
To run the tests:
go test ./...
Releases are created by pushing a tag named like v{major}.{minor}.{patch}
. After determining the appropriate release number, create and push a release tag from the default branch:
git tag v1.2.3
git push origin v1.2.3
After the release workflow runs, this will create a draft release on GitHub. After making any edits to the release notes, publish the draft release.