Development and Testing

May 13, 2025 ยท View on GitHub

Local Development

Build manually

Clone the repo and run:

go build

Running tests

To run all tests:

go test ./...

Static analysis and linting

Static analysis tools and linters are run as part of CI. They come from golangci-lint. To run this locally:

# Must be in a directory with a go.mod file
cd <directory_with_go_module>
golangci-lint run ./...

Releasing

Release workflow

  1. Navigate to the GitHub Actions page.
  2. Select the Run Workflow button.

Version Numbers

The version number will be automatically calculated, based on the news files. This information will also be displayed when running the version command.