Skip to content

Commit 2aca133

Browse files
authored
update interchaintest workflow (#1298)
1 parent cf88c21 commit 2aca133

File tree

1 file changed

+36
-25
lines changed

1 file changed

+36
-25
lines changed

.github/workflows/interchaintest.yml

+36-25
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: TESTING - interchaintest
22

33
on:
44
pull_request:
5-
push:
6-
branches:
7-
- master
85

96
jobs:
107
events:
@@ -16,11 +13,13 @@ jobs:
1613
go-version: '1.21'
1714

1815
- name: checkout relayer
19-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
2017

21-
- uses: actions/cache@v1
18+
- uses: actions/cache@v3
2219
with:
23-
path: ~/go/pkg/mod
20+
path: |
21+
~/.cache/go-build
22+
~/go/pkg/mod
2423
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
2524
restore-keys: |
2625
${{ runner.os }}-go-
@@ -37,11 +36,13 @@ jobs:
3736
go-version: '1.21'
3837

3938
- name: checkout relayer
40-
uses: actions/checkout@v2
39+
uses: actions/checkout@v4
4140

42-
- uses: actions/cache@v1
41+
- uses: actions/cache@v3
4342
with:
44-
path: ~/go/pkg/mod
43+
path: |
44+
~/.cache/go-build
45+
~/go/pkg/mod
4546
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
4647
restore-keys: |
4748
${{ runner.os }}-go-
@@ -58,11 +59,13 @@ jobs:
5859
go-version: '1.21'
5960

6061
- name: checkout relayer
61-
uses: actions/checkout@v2
62+
uses: actions/checkout@v4
6263

63-
- uses: actions/cache@v1
64+
- uses: actions/cache@v3
6465
with:
65-
path: ~/go/pkg/mod
66+
path: |
67+
~/.cache/go-build
68+
~/go/pkg/mod
6669
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
6770
restore-keys: |
6871
${{ runner.os }}-go-
@@ -79,11 +82,13 @@ jobs:
7982
go-version: '1.21'
8083

8184
- name: checkout relayer
82-
uses: actions/checkout@v2
85+
uses: actions/checkout@v4
8386

84-
- uses: actions/cache@v1
87+
- uses: actions/cache@v3
8588
with:
86-
path: ~/go/pkg/mod
89+
path: |
90+
~/.cache/go-build
91+
~/go/pkg/mod
8792
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
8893
restore-keys: |
8994
${{ runner.os }}-go-
@@ -100,11 +105,13 @@ jobs:
100105
go-version: '1.21'
101106

102107
- name: checkout relayer
103-
uses: actions/checkout@v2
108+
uses: actions/checkout@v4
104109

105-
- uses: actions/cache@v1
110+
- uses: actions/cache@v3
106111
with:
107-
path: ~/go/pkg/mod
112+
path: |
113+
~/.cache/go-build
114+
~/go/pkg/mod
108115
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
109116
restore-keys: |
110117
${{ runner.os }}-go-
@@ -121,11 +128,13 @@ jobs:
121128
go-version: '1.21'
122129

123130
- name: checkout relayer
124-
uses: actions/checkout@v2
131+
uses: actions/checkout@v4
125132

126-
- uses: actions/cache@v1
133+
- uses: actions/cache@v3
127134
with:
128-
path: ~/go/pkg/mod
135+
path: |
136+
~/.cache/go-build
137+
~/go/pkg/mod
129138
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
130139
restore-keys: |
131140
${{ runner.os }}-go-
@@ -139,7 +148,7 @@ jobs:
139148
matrix: ${{ steps.set-matrix.outputs.matrix }}
140149
steps:
141150
- name: Checkout code
142-
uses: actions/checkout@v2
151+
uses: actions/checkout@v4
143152

144153
- name: Generate matrix
145154
id: set-matrix
@@ -164,11 +173,13 @@ jobs:
164173
go-version: '1.21'
165174

166175
- name: checkout relayer
167-
uses: actions/checkout@v2
176+
uses: actions/checkout@v4
168177

169-
- uses: actions/cache@v1
178+
- uses: actions/cache@v3
170179
with:
171-
path: ~/go/pkg/mod
180+
path: |
181+
~/.cache/go-build
182+
~/go/pkg/mod
172183
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
173184
restore-keys: |
174185
${{ runner.os }}-go-

0 commit comments

Comments
 (0)