-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #834 from oasisprotocol/ptrus/feature/go-1.23
Update go to 1.23.x
- Loading branch information
Showing
12 changed files
with
92 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Update Go to v1.23.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.22.x | ||
go-version: 1.23.x | ||
- name: Install Go tools | ||
run: go install github.com/deepmap/oapi-codegen/cmd/[email protected] | ||
- name: Build Go | ||
|
@@ -60,7 +60,7 @@ jobs: | |
# NOTE: This should run _after_ the build step, so that oapi-codegen has already run | ||
# and generated the Go code that points to some of the dependencies. | ||
run: | | ||
go mod tidy -v -x -compat=1.22 # goreleaser does the same; can find lingering issues | ||
go mod tidy -v -x -compat=1.23 # goreleaser does the same; can find lingering issues | ||
echo TIDY RESULTS START; git diff || true; echo TIDY RESULTS END | ||
- name: Upload to codecov.io | ||
uses: codecov/[email protected] | ||
|
@@ -105,7 +105,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.22.x | ||
go-version: 1.23.x | ||
- name: Autogenerate Go code | ||
run: | | ||
go install github.com/deepmap/oapi-codegen/cmd/[email protected] | ||
|
@@ -149,7 +149,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.22.x | ||
go-version: 1.23.x | ||
- name: Autogenerate Go code | ||
run: | | ||
go install github.com/deepmap/oapi-codegen/cmd/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM golang:1.22-bookworm AS nexus-builder | ||
FROM golang:1.23-bookworm AS nexus-builder | ||
|
||
WORKDIR /code/go | ||
|
||
COPY . ./ | ||
|
||
RUN \ | ||
go install github.com/deepmap/oapi-codegen/cmd/[email protected] && \ | ||
go install github.com/deepmap/oapi-codegen/cmd/[email protected] && \ | ||
make codegen-go && \ | ||
go mod download && \ | ||
go build | ||
|
@@ -20,7 +20,7 @@ RUN npx redoc-cli build api/spec/v1.yaml -o api/spec/v1.html | |
|
||
############ | ||
|
||
FROM golang:1.22-bookworm AS nexus | ||
FROM golang:1.23-bookworm AS nexus | ||
|
||
WORKDIR /nexus | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.