From 2aca133d9e81ad048a486700acc16cc4247c75a4 Mon Sep 17 00:00:00 2001 From: Dan Kanefsky <56059752+boojamya@users.noreply.github.com> Date: Wed, 13 Sep 2023 12:15:07 -0700 Subject: [PATCH] update interchaintest workflow (#1298) --- .github/workflows/interchaintest.yml | 61 ++++++++++++++++------------ 1 file changed, 36 insertions(+), 25 deletions(-) diff --git a/.github/workflows/interchaintest.yml b/.github/workflows/interchaintest.yml index 58aac8a51..158329a66 100644 --- a/.github/workflows/interchaintest.yml +++ b/.github/workflows/interchaintest.yml @@ -2,9 +2,6 @@ name: TESTING - interchaintest on: pull_request: - push: - branches: - - master jobs: events: @@ -16,11 +13,13 @@ jobs: go-version: '1.21' - name: checkout relayer - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: - path: ~/go/pkg/mod + path: | + ~/.cache/go-build + ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- @@ -37,11 +36,13 @@ jobs: go-version: '1.21' - name: checkout relayer - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: - path: ~/go/pkg/mod + path: | + ~/.cache/go-build + ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- @@ -58,11 +59,13 @@ jobs: go-version: '1.21' - name: checkout relayer - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: - path: ~/go/pkg/mod + path: | + ~/.cache/go-build + ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- @@ -79,11 +82,13 @@ jobs: go-version: '1.21' - name: checkout relayer - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: - path: ~/go/pkg/mod + path: | + ~/.cache/go-build + ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- @@ -100,11 +105,13 @@ jobs: go-version: '1.21' - name: checkout relayer - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: - path: ~/go/pkg/mod + path: | + ~/.cache/go-build + ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- @@ -121,11 +128,13 @@ jobs: go-version: '1.21' - name: checkout relayer - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: - path: ~/go/pkg/mod + path: | + ~/.cache/go-build + ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- @@ -139,7 +148,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Generate matrix id: set-matrix @@ -164,11 +173,13 @@ jobs: go-version: '1.21' - name: checkout relayer - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: - path: ~/go/pkg/mod + path: | + ~/.cache/go-build + ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go-