Skip to content

Commit

Permalink
Update tools
Browse files Browse the repository at this point in the history
- bingo: v0.9.0
- buf: v1.30.0
- protobuf: v1.33.0
- shellcheck: v0.10.0

Signed-off-by: Marcelo E. Magallon <[email protected]>
  • Loading branch information
mem committed Mar 8, 2024
1 parent ddbaa29 commit 600aa07
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ FROM go as tools
RUN env GOBIN=/build go install github.com/google/wire/cmd/[email protected]

# Add bingo
RUN env GOBIN=/build go install github.com/bwplotka/bingo@v0.8.0
RUN env GOBIN=/build go install github.com/bwplotka/bingo@v0.9.0

# Add enumer
RUN env GOBIN=/build go install github.com/dmarkham/[email protected]

# Add protoc-gen-go
RUN env GOBIN=/build go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.32.0
RUN env GOBIN=/build go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.33.0

# Add protoc-gen-go-grpc
RUN env GOBIN=/build go install google.golang.org/grpc/cmd/[email protected]

# Add buf
RUN env GOBIN=/build go install github.com/bufbuild/buf/cmd/buf@v1.29.0
RUN env GOBIN=/build go install github.com/bufbuild/buf/cmd/buf@v1.30.0

# Add mage
RUN git clone --depth 1 --branch v1.15.0 https://github.com/magefile/mage mage && \
Expand All @@ -45,7 +45,7 @@ FROM go as tools
RUN env GOBIN=/build go install github.com/golangci/golangci-lint/cmd/[email protected]

# Add shellcheck
COPY --from=registry.hub.docker.com/koalaman/shellcheck:v0.9.0 /bin/shellcheck /build
COPY --from=registry.hub.docker.com/koalaman/shellcheck:v0.10.0 /bin/shellcheck /build

# Add git-chglog
RUN env GOBIN=/build go install github.com/git-chglog/git-chglog/cmd/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ FROM go as tools
RUN env GOBIN=/build go install {{ .data.protobuf.repo }}/cmd/protoc-gen-go@{{ .data.protobuf.version }}

# Add protoc-gen-go-grpc
RUN env GOBIN=/build go install {{ .data.grpc.repo }}/cmd/protoc-gen-go-grpc@{{ .data.grpc.version }}
RUN env GOBIN=/build go install {{ .data.grpc.repo }}@{{ .data.grpc.version }}

# Add buf
RUN env GOBIN=/build go install {{ .data.buf.repo }}/cmd/buf@{{ .data.buf.version }}
Expand Down
22 changes: 12 additions & 10 deletions versions.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
bingo:
repo: github.com/bwplotka/bingo
version: v0.8.0
version: v0.9.0
type: go
buf:
repo: github.com/bufbuild/buf
version: v1.29.0
version: v1.30.0
type: go
enumer:
repo: github.com/dmarkham/enumer
Expand All @@ -27,15 +27,16 @@ gotestsum:
version: v1.11.0
type: go
grizzly:
comment: |
The last released version of grizzly doesn't build (uses replace
directives); we need to pin this to a commit until a new release is
available.
version: v0.2.1
repo: github.com/grafana/grizzly
# The last released version of grizzly doesn't build (uses replace
# directives); we need to pin this to a commit until a new release is
# available.
# version: v0.2.1
version: 5f301fd6c773
type: go
grpc:
repo: google.golang.org/grpc
repo: google.golang.org/grpc/cmd/protoc-gen-go-grpc
version: v1.3.0
type: go
jq:
Expand All @@ -55,21 +56,22 @@ mage:
version: v1.15.0
type: go
nilaway:
comment: |
This hasn't been released yet, so pin it to a specific version for reproducibility
repo: go.uber.org/nilaway
# This hasn't been released yet, so pin it to a specific version for reproducibility
version: v0.0.0-20240224031343-67945fb5199f
type: go
protobuf:
repo: google.golang.org/protobuf
version: v1.32.0
version: v1.33.0
type: go
semversort:
repo: github.com/whereswaldon/semversort
version: v0.0.6
type: go
shellcheck:
repo: registry.hub.docker.com/koalaman/shellcheck
version: v0.9.0
version: v0.10.0
type: docker
skopeo:
repo: github.com/containers/skopeo
Expand Down

0 comments on commit 600aa07

Please sign in to comment.