-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Bump Go from 1.20 to 1.22 (#1410)
* Bump Go from 1.20 to 1.22.4 * follow golangci-lint rule * Change ghaction go version * Change the go version of all docker files * add go version to split-test-files * Replace slice header because it's deprecated since go 1.21 * Add CHANGELOG * Update subdirs go version
- Loading branch information
Showing
19 changed files
with
70 additions
and
41 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
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- run: | | ||
make build | ||
|
@@ -39,7 +39,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: install runsim | ||
run: | | ||
export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected] | ||
|
@@ -55,7 +55,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/[email protected] | ||
with: | ||
path: ~/go/bin | ||
|
@@ -75,7 +75,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/[email protected] | ||
with: | ||
path: ~/go/bin | ||
|
@@ -95,7 +95,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: actions/[email protected] | ||
with: | ||
path: ~/go/bin | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- run: make build | ||
|
@@ -37,7 +37,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- name: Install runsim | ||
|
@@ -54,7 +54,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/[email protected] | ||
|
@@ -81,7 +81,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/[email protected] | ||
|
@@ -110,7 +110,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/[email protected] | ||
|
@@ -139,7 +139,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/[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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- run: make build | ||
|
@@ -24,7 +24,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- name: Install runsim | ||
|
@@ -41,7 +41,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- uses: actions/[email protected] | ||
|
@@ -59,7 +59,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- uses: actions/[email protected] | ||
|
@@ -77,7 +77,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- uses: actions/[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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- name: install tparse | ||
|
@@ -51,7 +51,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
|
@@ -70,7 +70,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/[email protected] | ||
|
@@ -89,6 +89,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 ./... > pkgs.txt | ||
- name: Split pkgs into 4 files | ||
|
@@ -122,7 +125,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
@@ -204,7 +207,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
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
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,4 +1,4 @@ | ||
FROM golang:1.20-alpine as build | ||
FROM golang:1.22-alpine as build | ||
|
||
RUN apk add --no-cache tar | ||
|
||
|
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,4 +1,4 @@ | ||
FROM golang:1.20-alpine as build | ||
FROM golang:1.22-alpine as build | ||
|
||
RUN apk add git gcc libc-dev --no-cache | ||
|
||
|
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,4 +1,4 @@ | ||
go 1.20 | ||
go 1.22 | ||
|
||
module github.com/Finschia/finschia-sdk | ||
|
||
|
Oops, something went wrong.