Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tools #31

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading