chore: upgrade to sdk 0.47 #659
Workflow file for this run
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
name: Simulations | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- release/** | |
concurrency: | |
group: ci-${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
install-dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
- name: Install runsim | |
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected] | |
- uses: actions/cache@v3 | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-runsim-binary | |
test-app-non-determinism: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
**/**.go | |
go.mod | |
go.sum | |
- uses: actions/setup-go@v4 | |
if: env.GIT_DIFF | |
with: | |
go-version: 1.19 | |
cache: true | |
- name: Test application non-determinism | |
if: env.GIT_DIFF | |
run: | | |
make test-app-non-determinism | |
test-app-import-export: | |
runs-on: ubuntu-latest | |
needs: install-dependencies | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
**/**.go | |
go.mod | |
go.sum | |
- uses: actions/setup-go@v4 | |
if: env.GIT_DIFF | |
with: | |
go-version: 1.19 | |
cache: true | |
- uses: actions/cache@v3 | |
if: env.GIT_DIFF | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-runsim-binary | |
- name: test-app-import-export | |
if: env.GIT_DIFF | |
run: | | |
make test-app-import-export | |
test-app-after-import: | |
runs-on: ubuntu-latest | |
needs: install-dependencies | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
**/**.go | |
go.mod | |
go.sum | |
- uses: actions/setup-go@v4 | |
if: env.GIT_DIFF | |
with: | |
go-version: 1.19 | |
cache: true | |
- uses: actions/cache@v3 | |
if: env.GIT_DIFF | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-runsim-binary | |
- name: test-app-after-import | |
if: env.GIT_DIFF | |
run: | | |
make test-app-after-import | |
test-app-multi-seed-short: | |
runs-on: ubuntu-latest | |
needs: install-dependencies | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
**/**.go | |
go.mod | |
go.sum | |
- uses: actions/setup-go@v4 | |
if: env.GIT_DIFF | |
with: | |
go-version: 1.19 | |
cache: true | |
- uses: actions/cache@v3 | |
if: env.GIT_DIFF | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-runsim-binary | |
- name: test-app-multi-seed-short | |
if: env.GIT_DIFF | |
run: | | |
make test-app-multi-seed-short |