Skip to content

Commit 9c0deac

Browse files
authoredOct 8, 2024
all: upgrade go version from 1.22 to 1.23 (stellar#50)
upgrade go version from 1.22 to 1.23.2
1 parent c887ff0 commit 9c0deac

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed
 

‎.github/workflows/go.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: "1.22"
19+
go-version: "1.23.2"
2020

2121
- name: golangci-lint
2222
uses: golangci/golangci-lint-action@v4
2323
with:
24-
version: v1.58
24+
version: v1.61
2525
args: --timeout=5m
2626

2727
- name: ./gomod.sh
@@ -32,9 +32,9 @@ jobs:
3232
go install github.com/nishanths/exhaustive/cmd/exhaustive@v0.12.0
3333
exhaustive -default-signifies-exhaustive ./...
3434
35-
- name: deadcode golang.org/x/tools/cmd/deadcode@v0.21.0
35+
- name: deadcode golang.org/x/tools/cmd/deadcode@v0.26.0
3636
run: |
37-
go install golang.org/x/tools/cmd/deadcode@v0.21.0
37+
go install golang.org/x/tools/cmd/deadcode@v0.26.0
3838
output=$(deadcode -test ./...)
3939
if [[ -n "$output" ]]; then
4040
echo "🚨 Deadcode found:"
@@ -53,7 +53,7 @@ jobs:
5353
- name: Set up Go
5454
uses: actions/setup-go@v5
5555
with:
56-
go-version: "1.22"
56+
go-version: "1.23.2"
5757

5858
- name: Build Project
5959
run: go build ./...
@@ -90,7 +90,7 @@ jobs:
9090
- name: Set up Go
9191
uses: actions/setup-go@v5
9292
with:
93-
go-version: "1.22"
93+
go-version: "1.23.2"
9494

9595
- name: Run Tests
9696
run: go test -v -race -cover ./...

‎Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Step 1: Build Go API
2-
FROM golang:1.22.4-bullseye as api-build
2+
FROM golang:1.23.2-bullseye as api-build
33
ARG GIT_COMMIT
44

55
WORKDIR /src/wallet-backend

‎go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/stellar/wallet-backend
22

3-
go 1.22.0
3+
go 1.23.2
44

55
require (
66
github.com/aws/aws-sdk-go v1.45.26

0 commit comments

Comments
 (0)
Please sign in to comment.