Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: upgrade go version from 1.22 to 1.23 #50

Merged
merged 4 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading