From 73270c05acc603aaa9a851517b8e93160ebd10ab Mon Sep 17 00:00:00 2001 From: Diego Bernardes Date: Sat, 23 Mar 2024 22:35:36 +0000 Subject: [PATCH] Bump dependencies --- Earthfile | 10 +++++----- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Earthfile b/Earthfile index 9873080..da8ea74 100644 --- a/Earthfile +++ b/Earthfile @@ -1,4 +1,4 @@ -VERSION 0.7 +VERSION 0.8 ARG --global BASE_IMAGE=golang:1.22-bookworm FROM $BASE_IMAGE @@ -32,8 +32,8 @@ go-test: go-linter: FROM +go-base - RUN go install golang.org/x/vuln/cmd/govulncheck@v1.0.1 \ - && go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 + RUN go install golang.org/x/vuln/cmd/govulncheck@v1.0.4 \ + && go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.1 COPY .golangci.yaml . RUN govulncheck ./... \ && golangci-lint run ./... @@ -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 \ @@ -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 \ No newline at end of file + SAVE ARTIFACT openapi-proto-messages AS LOCAL openapi diff --git a/go.mod b/go.mod index 0449e00..f61b9ae 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/samber/lo v1.39.0 github.com/satori/uuid v1.2.0 github.com/stretchr/testify v1.9.0 - golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 + golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 google.golang.org/protobuf v1.33.0 ) diff --git a/go.sum b/go.sum index 7704c07..55d19fe 100644 --- a/go.sum +++ b/go.sum @@ -12,8 +12,8 @@ github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 h1:+iq7lrkxmFNBM7xx+Rae2W6uyPfhPeDWD+n+JgppptE= -golang.org/x/exp v0.0.0-20231219180239-dc181d75b848/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI= +golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 h1:6R2FC06FonbXQ8pK11/PDFY6N6LWlf9KlzibaCapmqc= +golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ= google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=