Skip to content
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

ci: bump go in CI #16050

Merged
merged 3 commits into from
May 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: technote-space/get-diff-action@v6.1.1
id: git_diff
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/dependabot-update-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
token: ${{ secrets.PRBOT_PAT }}
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- name: Extract updated dependency
id: deps
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/dependencies-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- name: "Checkout Repository"
uses: actions/checkout@v3
- name: "Dependency Review"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-cosmovisor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
# get 'v*.*.*' part from 'cosmovisor/v*.*.*' and save to $GITHUB_ENV
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/cosmovisor/}" >> $GITHUB_ENV
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-rosetta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
# get 'v*.*.*' part from 'rosetta/v*.*.*' and save to $GITHUB_ENV
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/rosetta/}" >> $GITHUB_ENV
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/sims-045.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
ref: "release/v0.45.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- run: make build

install-runsim:
Expand All @@ -32,7 +33,8 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v3
Expand All @@ -49,7 +51,8 @@ jobs:
ref: "release/v0.45.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand All @@ -67,7 +70,8 @@ jobs:
ref: "release/v0.45.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand All @@ -86,7 +90,8 @@ jobs:
ref: "release/v0.45.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/sims-046.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
ref: "release/v0.46.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- run: make build

install-runsim:
Expand All @@ -32,7 +33,8 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v3
Expand All @@ -50,7 +52,8 @@ jobs:
ref: "release/v0.46.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand All @@ -68,7 +71,8 @@ jobs:
ref: "release/v0.46.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand All @@ -86,7 +90,8 @@ jobs:
ref: "release/v0.46.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/sims-047.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
ref: "release/v0.47.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- run: make build

install-runsim:
Expand All @@ -32,7 +33,8 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v3
Expand All @@ -50,7 +52,8 @@ jobs:
ref: "release/v0.47.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand All @@ -68,7 +71,8 @@ jobs:
ref: "release/v0.47.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand All @@ -86,7 +90,8 @@ jobs:
ref: "release/v0.47.x"
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/sims-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v3
Expand All @@ -36,7 +37,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- run: make build
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0
Expand All @@ -38,7 +39,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand All @@ -54,7 +56,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand All @@ -71,7 +74,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
- name: Create a file with all core Cosmos SDK pkgs
run: go list ./... > pkgs.txt
- name: Split pkgs into 4 files
Expand Down Expand Up @@ -52,7 +53,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
cache: true
cache-dependency-path: go.sum
- uses: technote-space/get-diff-action@v6.1.1
Expand Down Expand Up @@ -83,7 +85,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
cache: true
cache-dependency-path: go.sum
- uses: technote-space/get-diff-action@v6.1.1
Expand Down Expand Up @@ -113,7 +116,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
cache: true
cache-dependency-path: go.sum
- uses: technote-space/get-diff-action@v6.1.1
Expand Down Expand Up @@ -190,7 +194,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
cache: true
cache-dependency-path: go.sum
- uses: technote-space/get-diff-action@v6.1.1
Expand Down Expand Up @@ -219,7 +224,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
cache: true
cache-dependency-path: go.sum
- uses: technote-space/get-diff-action@v6.1.1
Expand All @@ -244,7 +250,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.8
go-version: "1.19"
check-latest: true
cache: true
cache-dependency-path: simapp/go.sum
- uses: technote-space/get-diff-action@v6.1.1
Expand Down
2 changes: 1 addition & 1 deletion simapp/app_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func (app *SimApp) GetSubspace(moduleName string) paramstypes.Subspace {
return subspace
}

// SimulationManager implements the SimulationApp interface
// SimulationManager implements the SimulationApp interface.
func (app *SimApp) SimulationManager() *module.SimulationManager {
return app.sm
}
Expand Down