@@ -19,19 +19,23 @@ jobs:
19
19
build :
20
20
runs-on : Gaia-Runner-medium
21
21
steps :
22
+ - uses : actions/checkout@v4
22
23
- uses : actions/setup-go@v5
23
24
with :
24
25
go-version : 1.22.x
25
26
- name : Install runsim
26
27
run :
go install github.com/cosmos/tools/cmd/[email protected]
27
- - uses : actions/cache@v4.2.0
28
+ - uses : actions/cache@v4
28
29
with :
29
30
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-
31
34
32
35
test-sim-nondeterminism :
33
36
runs-on : Gaia-Runner-medium
34
- needs : newbuild
37
+ needs : build
38
+ timeout-minutes : 60
35
39
steps :
36
40
- uses : actions/checkout@v4
37
41
- uses : actions/setup-go@v5
@@ -77,42 +81,21 @@ jobs:
77
81
make test-sim-multi-seed-short
78
82
if : " env.GIT_DIFF != ''"
79
83
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
-
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
-
100
- with :
101
- path : ~/go/bin
102
- key : ${{ runner.os }}-go-runsim-binary
103
-
104
84
test-sim-multi-seed-long :
105
85
runs-on : Gaia-Runner-medium
106
- needs : [build, install-runsim]
86
+ needs : build
87
+ timeout-minutes : 120
107
88
steps :
108
89
- uses : actions/setup-go@v5
109
90
with :
110
91
go-version : 1.22.x
111
92
- uses : actions/checkout@v4
112
- - uses : actions/cache@v4.2.0
93
+ - uses : actions/cache@v4
113
94
with :
114
95
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-
116
99
- name : test-sim-multi-seed-long
117
100
run : |
118
101
make test-sim-multi-seed-long
0 commit comments