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-