Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
diegobernardes committed Oct 22, 2023
1 parent a1df2f6 commit 026bbcc
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 deletions.
10 changes: 5 additions & 5 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION 0.7

ARG --global BASE_IMAGE=golang:1.20-bookworm
ARG --global BASE_IMAGE=golang:1.21-bookworm
FROM $BASE_IMAGE
WORKDIR /opt/ctrader

Expand All @@ -22,7 +22,7 @@ go-build:
go-test:
ARG INTEGRATION_TEST="false"
FROM +go-base
RUN go install github.com/mfridman/tparse@v0.12.2
RUN go install github.com/mfridman/tparse@v0.13.1
IF [ "$INTEGRATION_TEST" = "true" ]
RUN --secret CTRADER_CLIENT_ID --secret CTRADER_SECRET --secret CTRADER_ACCOUNT_ID --secret CTRADER_TOKEN \
go test --tags integration -trimpath -race -cover -covermode=atomic -json ./... | tparse -all -smallscreen
Expand All @@ -32,8 +32,8 @@ go-test:

go-linter:
FROM +go-base
RUN go install golang.org/x/vuln/cmd/govulncheck@latest \
&& go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2
RUN go install golang.org/x/vuln/cmd/govulncheck@v1.0.1 \
&& go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.0
COPY .golangci.yaml .
RUN govulncheck ./... \
&& golangci-lint run ./...
Expand All @@ -58,7 +58,7 @@ compile-proto:
RUN apt-get update \
&& apt-get install --yes --no-install-recommends protobuf-compiler=3.* \
&& rm -rf /var/lib/apt/lists/* \
&& go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.30.0
&& go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31.0
GIT CLONE --branch 86 https://github.com/spotware/openapi-proto-messages.git openapi-proto-messages
RUN cd openapi-proto-messages \
&& protoc --go_out=. --go_opt=paths=source_relative *.proto \
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module github.com/diegobernardes/ctrader

go 1.20
go 1.21

require (
github.com/samber/lo v1.38.1
github.com/satori/uuid v1.2.0
github.com/stretchr/testify v1.8.4
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
google.golang.org/protobuf v1.31.0
)

Expand Down
5 changes: 3 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/samber/lo v1.38.1 h1:j2XEAqXKb09Am4ebOg31SpvzUTTs6EN3VfgeLUhPdXM=
Expand All @@ -18,8 +19,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 h1:k/i9J1pBpvlfR+9QsetwPyERsqu1GIbi967PQMq3Ivc=
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI=
golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
Expand Down
2 changes: 1 addition & 1 deletion openapi/OpenApiCommonMessages.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openapi/OpenApiCommonModelMessages.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openapi/OpenApiMessages.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openapi/OpenApiModelMessages.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 026bbcc

Please sign in to comment.