-
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.
Browse files
Browse the repository at this point in the history
* 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 (cherry picked from commit 7ebd36f) # Conflicts: # .github/workflows/check-generated.yml # .github/workflows/lint.yml # .github/workflows/release-sims.yml # .github/workflows/test.yml # CHANGELOG.md # go.sum # tools/error_doc/go.mod * 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 * lint * Update golangci-lint version * remove inactive linters * remove generating error docs ci --------- Co-authored-by: Jaeseung Lee <[email protected]>
- Loading branch information
1 parent
9c2bf2d
commit af1a1a1
Showing
23 changed files
with
86 additions
and
62 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 |
---|---|---|
|
@@ -19,8 +19,8 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.20' | ||
- uses: actions/checkout@v3 | ||
go-version: '1.22' | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
@@ -30,7 +30,7 @@ jobs: | |
- uses: golangci/golangci-lint-action@v6 | ||
with: | ||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | ||
version: v1.51 | ||
version: v1.59 | ||
args: --timeout 10m | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
if: env.GIT_DIFF |
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@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: ./.github/actions/generate-swagger | ||
- name: diff | ||
run: git diff | ||
|
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@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- run: | | ||
make build | ||
|
@@ -39,7 +39,7 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
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,8 +55,8 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.20' | ||
- uses: actions/cache@v3.3.1 | ||
go-version: '1.22' | ||
- uses: actions/cache@v4.0.2 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -75,8 +75,8 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.20' | ||
- uses: actions/cache@v3.3.1 | ||
go-version: '1.22' | ||
- uses: actions/cache@v4.0.2 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -95,8 +95,8 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.20' | ||
- uses: actions/cache@v3.3.1 | ||
go-version: '1.22' | ||
- uses: actions/cache@v4.0.2 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
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@v3 | ||
- uses: actions/[email protected] | ||
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/[email protected] | ||
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@v3 | ||
- uses: actions/[email protected] | ||
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@v3 | ||
- uses: actions/[email protected] | ||
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@v3 | ||
- uses: actions/[email protected] | ||
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@v3 | ||
- uses: actions/[email protected] | ||
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@v3 | ||
- uses: actions/[email protected] | ||
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/[email protected] | ||
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@v3 | ||
- uses: actions/[email protected] | ||
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@v3 | ||
- uses: actions/[email protected] | ||
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@v3 | ||
- uses: actions/[email protected] | ||
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/[email protected] | ||
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@v3 | ||
- uses: actions/[email protected] | ||
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@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/[email protected] | ||
|
@@ -88,7 +88,10 @@ jobs: | |
split-test-files: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- 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@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.22' | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
@@ -204,7 +207,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
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
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.