From 9c0deac206e57926b6c0b684520a0448132ddc8b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 16:45:45 -0300 Subject: [PATCH] all: upgrade go version from 1.22 to 1.23 (#50) upgrade go version from 1.22 to 1.23.2 --- .github/workflows/go.yaml | 12 ++++++------ Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 2a8c8ec..c6c0690 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -16,12 +16,12 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23.2" - name: golangci-lint uses: golangci/golangci-lint-action@v4 with: - version: v1.58 + version: v1.61 args: --timeout=5m - name: ./gomod.sh @@ -32,9 +32,9 @@ jobs: go install github.com/nishanths/exhaustive/cmd/exhaustive@v0.12.0 exhaustive -default-signifies-exhaustive ./... - - name: deadcode golang.org/x/tools/cmd/deadcode@v0.21.0 + - name: deadcode golang.org/x/tools/cmd/deadcode@v0.26.0 run: | - go install golang.org/x/tools/cmd/deadcode@v0.21.0 + go install golang.org/x/tools/cmd/deadcode@v0.26.0 output=$(deadcode -test ./...) if [[ -n "$output" ]]; then echo "🚨 Deadcode found:" @@ -53,7 +53,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23.2" - name: Build Project run: go build ./... @@ -90,7 +90,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23.2" - name: Run Tests run: go test -v -race -cover ./... diff --git a/Dockerfile b/Dockerfile index 16a7b5a..d21668c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Step 1: Build Go API -FROM golang:1.22.4-bullseye as api-build +FROM golang:1.23.2-bullseye as api-build ARG GIT_COMMIT WORKDIR /src/wallet-backend diff --git a/go.mod b/go.mod index 403be7e..7a0c698 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/stellar/wallet-backend -go 1.22.0 +go 1.23.2 require ( github.com/aws/aws-sdk-go v1.45.26