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