Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
diegobernardes committed Mar 23, 2024
1 parent 4e50eaf commit 0ea29bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION 0.7
VERSION 0.8

ARG --global BASE_IMAGE=golang:1.22-bookworm
FROM $BASE_IMAGE
Expand Down Expand Up @@ -32,8 +32,8 @@ go-test:

go-linter:
FROM +go-base
RUN go install golang.org/x/vuln/cmd/[email protected].1 \
&& go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2
RUN go install golang.org/x/vuln/cmd/[email protected].4 \
&& go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.1
COPY .golangci.yaml .
RUN govulncheck ./... \
&& golangci-lint run ./...
Expand All @@ -52,7 +52,7 @@ update-pkg-go-dev:
# compile-proto is used to compile cTrader Open API protobuf files. In case the 'protoc-gen-go' version changes, it's
# recommended to run 'go mod tidy'.
compile-proto:
LOCALLY
LOCALLY
RUN rm -rf openapi
FROM $BASE_IMAGE
RUN apt-get update \
Expand All @@ -63,4 +63,4 @@ compile-proto:
RUN cd openapi-proto-messages \
&& protoc --go_out=. --go_opt=paths=source_relative *.proto \
&& find . ! \( -name '*.go' \) -delete
SAVE ARTIFACT openapi-proto-messages AS LOCAL openapi
SAVE ARTIFACT openapi-proto-messages AS LOCAL openapi

0 comments on commit 0ea29bf

Please sign in to comment.