* Go 1.26 baseline, golangci-lint, dependency updates
- Go baseline is now 1.26 (`go.mod`); CI tests the two newest majors, 1.26 and 1.27 (previously 1.23-1.25).
- Replaces the separate gofmt/vet/staticcheck/ineffassign/predeclared Makefile targets (and the unused golint/errcheck ones) with a single pinned `golangci-lint` v2 (`make lint`), configured in `.golangci.yml` to run the same checks.
- `go get -u -t ./... && go mod tidy`.
- Release workflow and Dockerfile now build with Go 1.27 (newest), while `go.mod` keeps 1.26 as the oldest supported version.
- Lint fixes: none needed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Regenerate protos and reformat with Go 1.27
Go 1.27's gofmt reformats doc comments in generated code, and CI's
checkgenerate runs on 1.27.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
* chore: update to Golang 1.23
* chore: configure cci to build with 1.23
Signed-off-by: Or Shachar <orchoock@gmail.com>
* Update config.yml
---------
Signed-off-by: Or Shachar <orchoock@gmail.com>
Co-authored-by: Scott Blum <dragonsinth@gmail.com>
* fix test to work w/ newer grpc repo; run 'make ci' to have it update go.mod and go.sum, trying to repro ci failure locally
* vet w/ go 1.13; use normal go proxy instead of direct in CI
* add goreleaser
Add a goreleaser configuration file that builds binaries for Linux,
MacOS and Windows, for 32bit (x86/386) and 64bit (x64/amd64). The
binaries will be archived into a tar.gz/zip file along with the LICENSE
file.
The `dist/` directory will be written to by goreleaser with the binaries
during the build process, so it's also been added to .gitignore.
To build all the binaries and release them to GitHub:
1. Tag the release. e.g. `git tag -a v1.0.0 -m 'First release'`
2. Generate a GitHub Personal Access Token. See https://github.com/settings/tokens.
3. Push the release to GitHub. e.g. `git push origin v1.0.0`
4. Make the release, which will publish binaries to the GitHub "Releases" page. e.g. `GITHUB_TOKEN=xxxxxxx... make release`
* add -version flag
Run `grpcurl -version` to see the release version. Use `make install` to build a binary that shows the version based on current git hash (which will show a version number if HEAD is a release tag and otherwise uses `git describe` to summarize the version).