-
Notifications
You must be signed in to change notification settings - Fork 628
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
deps: bump go 1.22 #6380
deps: bump go 1.22 #6380
Changes from all commits
660c40f
99bd71c
dc62243
47284f9
82fac2e
927ab14
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: golangci/[email protected] | ||
with: | ||
|
@@ -31,7 +31,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- name: Build callbacks-module | ||
run: | | ||
cd modules/apps/callbacks | ||
|
@@ -43,7 +43,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- name: Go Test | ||
run: | | ||
cd modules/apps/callbacks | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: golangci/[email protected] | ||
with: | ||
|
@@ -26,7 +26,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- name: Go Test | ||
run: | | ||
cd e2e | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- name: golangci-lint | ||
uses: golangci/[email protected] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- name: golangci-lint | ||
uses: golangci/[email protected] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
|
@@ -55,6 +55,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
- name: Create a file with all the pkgs | ||
run: go list ./... | grep -v e2e > pkgs.txt | ||
- name: Split pkgs into 4 files | ||
|
@@ -88,7 +91,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: golangci/[email protected] | ||
with: | ||
|
@@ -31,7 +31,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
# Install cross compiler for ARM64. Export CC env variable. | ||
- name: Install compiler for arm64. | ||
run: | | ||
|
@@ -50,7 +50,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.22' | ||
- name: Go Test | ||
run: | | ||
cd modules/light-clients/08-wasm | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,4 +1,4 @@ | ||||||
FROM golang:1.21-alpine3.18 as builder | ||||||
FROM golang:1.22-alpine3.20 as builder | ||||||
ARG IBC_GO_VERSION | ||||||
|
||||||
RUN set -eux; apk add --no-cache git libusb-dev linux-headers gcc musl-dev make; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pin specific versions of packages in - RUN set -eux; apk add --no-cache git libusb-dev linux-headers gcc musl-dev make;
+ RUN set -eux; apk add --no-cache git=2.30.2-r0 libusb-dev=1.0.24-r1 linux-headers=5.10.41-r0 gcc=10.3.1_git20210424-r2 musl-dev=1.2.2-r3 make=4.3-r0; Committable suggestion
Suggested change
|
||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
go 1.21 | ||
go 1.22 | ||
|
||
module github.com/cosmos/ibc-go/v8 | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
go 1.21 | ||
go 1.22.0 | ||
|
||
toolchain go1.22.0 | ||
|
||
use ( | ||
./ | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,4 +1,4 @@ | ||||||
FROM golang:1.21-alpine3.18 as builder | ||||||
FROM golang:1.22-alpine3.20 as builder | ||||||
|
||||||
RUN set -eux; apk add --no-cache git libusb-dev linux-headers gcc musl-dev make; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pin specific versions of packages in - RUN set -eux; apk add --no-cache git libusb-dev linux-headers gcc musl-dev make;
+ RUN set -eux; apk add --no-cache git=2.30.2-r0 libusb-dev=1.0.24-r1 linux-headers=5.10.41-r0 gcc=10.3.1_git20210424-r2 musl-dev=1.2.2-r3 make=4.3-r0; Committable suggestion
Suggested change
|
||||||
|
||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
module github.com/cosmos/ibc-go/modules/apps/callbacks | ||
|
||
go 1.21 | ||
go 1.22 | ||
|
||
toolchain go1.21.0 | ||
toolchain go1.22.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. any idea if this is needed? some files have it, some not 🤷 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably it's not. Since it was already there, I left it... |
||
|
||
replace github.com/cosmos/ibc-go/v8 => ../../../ | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure the Go version update is documented in the changelog.
Please add an entry in the changelog under the "Dependencies" section to document the update of the Go version to 1.22 as part of this pull request.