Skip to content

Commit

Permalink
all: upgrade go version from 1.22 to 1.23 (#50)
Browse files Browse the repository at this point in the history
upgrade go version from 1.22 to 1.23.2
  • Loading branch information
dependabot[bot] authored Oct 8, 2024
1 parent c887ff0 commit 9c0deac
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -32,9 +32,9 @@ jobs:
go install github.com/nishanths/exhaustive/cmd/[email protected]
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:"
Expand All @@ -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 ./...
Expand Down Expand Up @@ -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 ./...
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9c0deac

Please sign in to comment.