Skip to content

Commit 04bf8d8

Browse files
authored
Update sims.yml (#3468)
1 parent bb48f00 commit 04bf8d8

File tree

1 file changed

+13
-30
lines changed

1 file changed

+13
-30
lines changed

.github/workflows/sims.yml

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,23 @@ jobs:
1919
build:
2020
runs-on: Gaia-Runner-medium
2121
steps:
22+
- uses: actions/checkout@v4
2223
- uses: actions/setup-go@v5
2324
with:
2425
go-version: 1.22.x
2526
- name: Install runsim
2627
run: go install github.com/cosmos/tools/cmd/[email protected]
27-
- uses: actions/cache@v4.2.0
28+
- uses: actions/cache@v4
2829
with:
2930
path: ~/go/bin
30-
key: ${{ runner.os }}-go-runsim-binary
31+
key: ${{ runner.os }}-go-runsim-binary-${{ hashFiles('**/go.sum') }}
32+
restore-keys: |
33+
${{ runner.os }}-go-runsim-binary-
3134
3235
test-sim-nondeterminism:
3336
runs-on: Gaia-Runner-medium
34-
needs: newbuild
37+
needs: build
38+
timeout-minutes: 60
3539
steps:
3640
- uses: actions/checkout@v4
3741
- uses: actions/setup-go@v5
@@ -77,42 +81,21 @@ jobs:
7781
make test-sim-multi-seed-short
7882
if: "env.GIT_DIFF != ''"
7983

80-
newbuild:
81-
runs-on: Gaia-Runner-medium
82-
steps:
83-
- uses: actions/setup-go@v5
84-
with:
85-
go-version: 1.22.x
86-
- name: Install runsim
87-
run: go install github.com/cosmos/tools/cmd/[email protected]
88-
- uses: actions/[email protected]
89-
with:
90-
path: ~/go/bin
91-
key: ${{ runner.os }}-go-runsim-binary
92-
93-
install-runsim:
94-
runs-on: Gaia-Runner-medium
95-
needs: build
96-
steps:
97-
- name: install runsim
98-
run: go install github.com/cosmos/tools/cmd/[email protected]
99-
- uses: actions/[email protected]
100-
with:
101-
path: ~/go/bin
102-
key: ${{ runner.os }}-go-runsim-binary
103-
10484
test-sim-multi-seed-long:
10585
runs-on: Gaia-Runner-medium
106-
needs: [build, install-runsim]
86+
needs: build
87+
timeout-minutes: 120
10788
steps:
10889
- uses: actions/setup-go@v5
10990
with:
11091
go-version: 1.22.x
11192
- uses: actions/checkout@v4
112-
- uses: actions/cache@v4.2.0
93+
- uses: actions/cache@v4
11394
with:
11495
path: ~/go/bin
115-
key: ${{ runner.os }}-go-runsim-binary
96+
key: ${{ runner.os }}-go-runsim-binary-${{ hashFiles('**/go.sum') }}
97+
restore-keys: |
98+
${{ runner.os }}-go-runsim-binary-
11699
- name: test-sim-multi-seed-long
117100
run: |
118101
make test-sim-multi-seed-long

0 commit comments

Comments
 (0)