Skip to content

Commit a889bb8

Browse files
authored
feat: Add envdoc; bump go to 1.24 (#297)
1 parent 7e7f80c commit a889bb8

File tree

2,739 files changed

+186462
-47111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,739 files changed

+186462
-47111
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.23.6-alpine3.21 AS builder
1+
FROM --platform=$BUILDPLATFORM golang:1.24.0-alpine3.21 AS builder
22

33
ARG APK_BASH_VERSION=~5
44
ARG APK_GIT_VERSION=~2
@@ -39,7 +39,7 @@ RUN --mount=type=bind,source=./scripts,target=./scripts \
3939
GOOS=$TARGETOS GOARCH=$TARGETARCH make install-tools
4040

4141

42-
FROM golang:1.23.6-alpine3.21 AS releaser
42+
FROM golang:1.24.0-alpine3.21 AS releaser
4343

4444
ARG APK_BASH_VERSION=~5
4545
ARG APK_BUILDBASE_VERSION=~0

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SHELL := env APP_NAME=$(APP_NAME) $(SHELL)
77
RELEASE_BRANCH?=master
88
SHELL := env RELEASE_BRANCH=$(RELEASE_BRANCH) $(SHELL)
99

10-
GOVERSION:=1.23
10+
GOVERSION:=1.24
1111

1212
TARGET_MAX_CHAR_NUM=20
1313

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,33 @@ docker pull ghcr.io/obalunenko/go-tools:latest
1515

1616
### Go base image
1717

18-
The base image is built on top of the official image [golang:1.23.5-alpine3.21](https://hub.docker.com/_/golang) and includes the following tools:
18+
The base image is built on top of the official image [golang:1.24.0-alpine3.21](https://hub.docker.com/_/golang) and includes the following tools:
1919

2020

2121
##### Below is a full manifest of the tools available
2222

2323

2424
| Tool | Version | Description |
2525
|------------------------------------------------------------|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
26-
| [buf](https://github.com/bufbuild/buf) | v1.48.0 | The buf CLI is the best tool for working with Protocol Buffers |
26+
| [buf](https://github.com/bufbuild/buf) | v1.50.0 | The buf CLI is the best tool for working with Protocol Buffers |
2727
| [coverbadger](https://github.com/obalunenko/coverbadger) | v1.4.0 | Generate coverage badge images for Markdown files using Go |
2828
| [enumer](https://github.com/alvaroloes/enumer) | v1.1.2 | A Go tool to auto generate methods for your enums |
29-
| [fiximports](https://golang.org/x/tools/cmd/fiximports) | v0.29.0 | The fiximports command fixes import declarations to use the canonical import path for packages that have an "import comment" as defined by https://golang.org/s/go14customimport. |
29+
| [envdoc](https://github.com/g4s8/envdoc) | v1.4.0 | Go tool to generate documentation for environment variables |
30+
| [fiximports](https://golang.org/x/tools/cmd/fiximports) | v0.30.0 | The fiximports command fixes import declarations to use the canonical import path for packages that have an "import comment" as defined by https://golang.org/s/go14customimport. |
3031
| [go-enum](https://github.com/abice/go-enum) | v0.6.0 | An enum generator for go |
3132
| [gocov](https://github.com/axw/gocov) | v1.2.1 | Coverage testing tool for The Go Programming Language |
3233
| [gocov-html](https://github.com/matm/gocov-html) | v1.4.0 | Make pretty HTML output from gocov, a coverage testing tool for Go |
3334
| [gofumpt](https://mvdan.cc/gofumpt) | v0.7.0 | A stricter gofmt |
34-
| [goimports](https://golang.org/x/tools/cmd/goimports) | v0.29.0 | Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones |
35-
| [golangci-lint](https://github.com/golangci/golangci-lint) | v1.62.2 | Fast linters Runner for Go |
35+
| [goimports](https://golang.org/x/tools/cmd/goimports) | v0.30.0 | Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones |
36+
| [golangci-lint](https://github.com/golangci/golangci-lint) | v1.64.4 | Fast linters Runner for Go |
3637
| [goose](https://github.com/pressly/goose/v3/cmd/goose) | v3.24.1 | A database migration tool |
3738
| [goreadme](https://github.com/posener/goreadme) | v1.4.2 | Generate readme file from Go doc |
38-
| [goreleaser](https://github.com/goreleaser/goreleaser) | v2.5.0 | Deliver Go binaries as fast and easily as possible |
39+
| [goreleaser](https://github.com/goreleaser/goreleaser) | v2.7.0 | Deliver Go binaries as fast and easily as possible |
3940
| [gotestsum](https://gotest.tools/gotestsum) | v1.12.0 | 'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results. |
4041
| [goveralls](https://github.com/mattn/goveralls) | v0.0.12 | Go integration for Coveralls.io continuous code coverage tracking system. |
4142
| [govulncheck](https://golang.org/x/vuln/cmd/govulncheck) | v1.1.3 | Govulncheck reports known vulnerabilities that affect Go code. |
42-
| [pkgsite](https://golang.org/x/pkgsite/cmd/pkgsite) | v0.0.0-20241216215327-06c6edf28e6c | Pkgsite extracts and generates documentation for Go programs. It runs as a web server and presents the documentation as a web page. |
43-
| [stringer](https://golang.org/x/tools/cmd/stringer) | v0.29.0 | Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface. |
43+
| [pkgsite](https://golang.org/x/pkgsite/cmd/pkgsite) | v0.0.0-20250210190023-b866f8692660 | Pkgsite extracts and generates documentation for Go programs. It runs as a web server and presents the documentation as a web page. |
44+
| [stringer](https://golang.org/x/tools/cmd/stringer) | v0.30.0 | Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface. |
4445
| [svu](https://github.com/caarlos0/svu) | v2.2.0 | Semantic Version Util |
4546
| [swag](github.com/swaggo/swag/cmd/swag) | v1.16.4 | Automatically generate RESTful API documentation with Swagger 2.0 for Go |
4647
| [swagger](https://github.com/go-swagger/go-swagger) | v0.31.0 | Client/Server from OpenAPI docs generation tool |

tools/buf/go.mod

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
module buf
22

3-
go 1.23
3+
go 1.24
44

5-
require github.com/bufbuild/buf v1.48.0
5+
require github.com/bufbuild/buf v1.50.0
66

77
require (
8-
buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.0-20241031151143-70f632351282.1 // indirect
9-
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.0-20241127180247-a33202765966.1 // indirect
10-
buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241210175624-28487aef65cd.1 // indirect
11-
buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.0-20241210175624-28487aef65cd.1 // indirect
12-
buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.0-20241007202033-cf42259fcbfc.1 // indirect
8+
buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.3-20241031151143-70f632351282.1 // indirect
9+
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.3-20241127180247-a33202765966.1 // indirect
10+
buf.build/gen/go/bufbuild/registry/connectrpc/go v1.18.1-20250106231242-56271afbd6ce.1 // indirect
11+
buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.3-20250106231242-56271afbd6ce.1 // indirect
12+
buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.3-20241007202033-cf42259fcbfc.1 // indirect
1313
buf.build/go/bufplugin v0.6.0 // indirect
1414
buf.build/go/protoyaml v0.3.1 // indirect
1515
buf.build/go/spdx v0.2.0 // indirect
1616
cel.dev/expr v0.19.1 // indirect
17-
connectrpc.com/connect v1.17.0 // indirect
17+
connectrpc.com/connect v1.18.1 // indirect
1818
connectrpc.com/otelconnect v0.7.1 // indirect
19-
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
19+
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
2020
github.com/Microsoft/go-winio v0.6.2 // indirect
2121
github.com/Microsoft/hcsshim v0.12.9 // indirect
2222
github.com/antlr4-go/antlr/v4 v4.13.1 // indirect
2323
github.com/bufbuild/protocompile v0.14.1 // indirect
24-
github.com/bufbuild/protoplugin v0.0.0-20240911180120-7bb73e41a54a // indirect
25-
github.com/bufbuild/protovalidate-go v0.8.0 // indirect
24+
github.com/bufbuild/protoplugin v0.0.0-20250106231243-3a819552c9d9 // indirect
25+
github.com/bufbuild/protovalidate-go v0.8.2 // indirect
2626
github.com/containerd/cgroups/v3 v3.0.5 // indirect
27-
github.com/containerd/containerd v1.7.24 // indirect
27+
github.com/containerd/containerd v1.7.25 // indirect
2828
github.com/containerd/continuity v0.4.5 // indirect
2929
github.com/containerd/errdefs v1.0.0 // indirect
3030
github.com/containerd/errdefs/pkg v0.3.0 // indirect
3131
github.com/containerd/log v0.1.0 // indirect
3232
github.com/containerd/platforms v0.2.1 // indirect
3333
github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect
34-
github.com/containerd/ttrpc v1.2.6 // indirect
34+
github.com/containerd/ttrpc v1.2.7 // indirect
3535
github.com/containerd/typeurl/v2 v2.2.3 // indirect
3636
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
3737
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3838
github.com/distribution/reference v0.6.0 // indirect
39-
github.com/docker/cli v27.4.1+incompatible // indirect
39+
github.com/docker/cli v27.5.0+incompatible // indirect
4040
github.com/docker/distribution v2.8.3+incompatible // indirect
41-
github.com/docker/docker v27.4.1+incompatible // indirect
41+
github.com/docker/docker v27.5.0+incompatible // indirect
4242
github.com/docker/docker-credential-helpers v0.8.2 // indirect
4343
github.com/docker/go-connections v0.5.0 // indirect
4444
github.com/docker/go-units v0.5.0 // indirect
@@ -66,12 +66,13 @@ require (
6666
github.com/moby/patternmatcher v0.6.0 // indirect
6767
github.com/moby/sys/mount v0.3.4 // indirect
6868
github.com/moby/sys/mountinfo v0.7.2 // indirect
69+
github.com/moby/sys/reexec v0.1.0 // indirect
6970
github.com/moby/sys/sequential v0.6.0 // indirect
7071
github.com/moby/sys/user v0.3.0 // indirect
7172
github.com/moby/sys/userns v0.1.0 // indirect
72-
github.com/moby/term v0.5.0 // indirect
73+
github.com/moby/term v0.5.2 // indirect
7374
github.com/morikuni/aec v1.0.0 // indirect
74-
github.com/onsi/ginkgo/v2 v2.22.0 // indirect
75+
github.com/onsi/ginkgo/v2 v2.22.2 // indirect
7576
github.com/opencontainers/go-digest v1.0.0 // indirect
7677
github.com/opencontainers/image-spec v1.1.0 // indirect
7778
github.com/opencontainers/runtime-spec v1.2.0 // indirect
@@ -106,20 +107,20 @@ require (
106107
go.uber.org/multierr v1.11.0 // indirect
107108
go.uber.org/zap v1.27.0 // indirect
108109
go.uber.org/zap/exp v0.3.0 // indirect
109-
golang.org/x/crypto v0.31.0 // indirect
110-
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect
110+
golang.org/x/crypto v0.32.0 // indirect
111+
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
111112
golang.org/x/mod v0.22.0 // indirect
112-
golang.org/x/net v0.33.0 // indirect
113+
golang.org/x/net v0.34.0 // indirect
113114
golang.org/x/sync v0.10.0 // indirect
114-
golang.org/x/sys v0.28.0 // indirect
115-
golang.org/x/term v0.27.0 // indirect
115+
golang.org/x/sys v0.29.0 // indirect
116+
golang.org/x/term v0.28.0 // indirect
116117
golang.org/x/text v0.21.0 // indirect
117118
golang.org/x/time v0.6.0 // indirect
118-
golang.org/x/tools v0.28.0 // indirect
119-
google.golang.org/genproto/googleapis/api v0.0.0-20241219192143-6b3ec007d9bb // indirect
120-
google.golang.org/genproto/googleapis/rpc v0.0.0-20241219192143-6b3ec007d9bb // indirect
121-
google.golang.org/grpc v1.69.2 // indirect
122-
google.golang.org/protobuf v1.36.0 // indirect
119+
golang.org/x/tools v0.29.0 // indirect
120+
google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 // indirect
121+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250106144421-5f5ef82da422 // indirect
122+
google.golang.org/grpc v1.69.4 // indirect
123+
google.golang.org/protobuf v1.36.4-0.20250116160514-2005adbe0cf6 // indirect
123124
gopkg.in/yaml.v3 v3.0.1 // indirect
124125
gotest.tools/v3 v3.5.1 // indirect
125126
pluginrpc.com/pluginrpc v0.5.0 // indirect

0 commit comments

Comments
 (0)