@ -30,17 +30,17 @@ jobs:
yarn-install:
runs-on : ubuntu-latest
steps:
- uses : actions/setup-node@v3
- uses : actions/setup-node@v4
with:
node-version : 18
- uses : actions/checkout@v3
- uses : actions/checkout@v4
with:
ref : ${{ github.event.pull_request.head.sha || github.sha }}
submodules : recursive
- name : yarn-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
**/node_modules
@ -61,14 +61,14 @@ jobs:
runs-on : ubuntu-latest
needs : [ yarn-install]
steps:
- uses : actions/checkout@v3
- uses : actions/checkout@v4
with:
ref : ${{ github.event.pull_request.head.sha || github.sha }}
submodules : recursive
fetch-depth : 0
- name : yarn-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
**/node_modules
@ -76,7 +76,7 @@ jobs:
key : ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}
- name : build-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
./*
@ -89,7 +89,7 @@ jobs:
checkout-registry:
runs-on : ubuntu-latest
steps:
- uses : actions/checkout@v3
- uses : actions/checkout@v4
with:
repository : hyperlane-xyz/hyperlane-registry
ref : main
@ -105,7 +105,7 @@ jobs:
- run : echo "REGISTRY_URI_ABSOLUTE=$(realpath $REGISTRY_URI)" >> $GITHUB_ENV
- name : registry-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
${{ env.REGISTRY_URI_ABSOLUTE }}
@ -115,14 +115,14 @@ jobs:
runs-on : ubuntu-latest
needs : [ yarn-install]
steps:
- uses : actions/checkout@v3
- uses : actions/checkout@v4
with:
ref : ${{ github.event.pull_request.head.sha || github.sha }}
# check out full history
fetch-depth : 0
- name : yarn-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
**/node_modules
@ -145,17 +145,17 @@ jobs:
runs-on : ubuntu-latest
needs : [ yarn-build, checkout-registry]
steps:
- uses : actions/checkout@v3
- uses : actions/checkout@v4
with:
ref : ${{ github.event.pull_request.head.sha || github.sha }}
submodules : recursive
fetch-depth : 0
- name : foundry-install
uses : onbjerg /foundry-toolchain@v1
uses : foundry-rs /foundry-toolchain@v1
- name : build-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
./*
@ -167,7 +167,7 @@ jobs:
- run : echo "REGISTRY_URI_ABSOLUTE=$(realpath $REGISTRY_URI)" >> $GITHUB_ENV
- name : registry-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
${{ env.REGISTRY_URI_ABSOLUTE }}
@ -184,13 +184,13 @@ jobs:
matrix:
environment : [ mainnet3, testnet4]
steps:
- uses : actions/checkout@v3
- uses : actions/checkout@v4
with:
ref : ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth : 0
- name : yarn-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
**/node_modules
@ -198,7 +198,7 @@ jobs:
key : ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}
- name : build-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
./*
@ -210,7 +210,7 @@ jobs:
- run : echo "REGISTRY_URI_ABSOLUTE=$(realpath $REGISTRY_URI)" >> $GITHUB_ENV
- name : registry-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
${{ env.REGISTRY_URI_ABSOLUTE }}
@ -234,17 +234,17 @@ jobs:
matrix:
e2e-type : [ cosmwasm, non-cosmwasm]
steps:
- uses : actions/setup-node@v3
- uses : actions/setup-node@v4
with:
node-version : 18
- uses : actions/checkout@v3
- uses : actions/checkout@v4
with:
ref : ${{ github.event.pull_request.head.sha || github.sha }}
submodules : recursive
- name : foundry-install
uses : onbjerg /foundry-toolchain@v1
uses : foundry-rs /foundry-toolchain@v1
- name : setup rust
uses : actions-rs/toolchain@v1
@ -267,7 +267,7 @@ jobs:
make-default : true
- name : yarn-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
**/node_modules
@ -275,7 +275,7 @@ jobs:
key : ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}
- name : build-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
./*
@ -287,14 +287,14 @@ jobs:
- run : echo "REGISTRY_URI_ABSOLUTE=$(realpath $REGISTRY_URI)" >> $GITHUB_ENV
- name : registry-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
${{ env.REGISTRY_URI_ABSOLUTE }}
key : hyperlane-registry-${{ github.event.pull_request.head.sha || github.sha }}
- name : cargo-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
~/.cargo
@ -338,17 +338,17 @@ jobs:
- test-type : configure_hook_enabled
- test-type : pi_with_core_chain
steps:
- uses : actions/setup-node@v3
- uses : actions/setup-node@v4
with:
node-version : 18
- uses : actions/checkout@v3
- uses : actions/checkout@v4
with:
ref : ${{ github.event.pull_request.head.sha || github.sha }}
submodules : recursive
- name : foundry-install
uses : onbjerg /foundry-toolchain@v1
uses : foundry-rs /foundry-toolchain@v1
- name : setup rust
uses : actions-rs/toolchain@v1
@ -371,7 +371,7 @@ jobs:
make-default : true
- name : yarn-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
**/node_modules
@ -379,7 +379,7 @@ jobs:
key : ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}
- name : build-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
./*
@ -391,14 +391,14 @@ jobs:
- run : echo "REGISTRY_URI_ABSOLUTE=$(realpath $REGISTRY_URI)" >> $GITHUB_ENV
- name : registry-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
${{ env.REGISTRY_URI_ABSOLUTE }}
key : hyperlane-registry-${{ github.event.pull_request.head.sha || github.sha }}
- name : cargo-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
~/.cargo
@ -422,15 +422,15 @@ jobs:
module : core
steps:
- uses : actions/checkout@v3
- uses : actions/checkout@v4
with:
ref : ${{ github.event.pull_request.head.sha || github.sha }}
- name : foundry-install
uses : onbjerg /foundry-toolchain@v1
uses : foundry-rs /foundry-toolchain@v1
- name : build-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
./*
@ -442,7 +442,7 @@ jobs:
- run : echo "REGISTRY_URI_ABSOLUTE=$(realpath $REGISTRY_URI)" >> $GITHUB_ENV
- name : registry-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
${{ env.REGISTRY_URI_ABSOLUTE }}
@ -456,13 +456,13 @@ jobs:
needs : [ yarn-test]
steps:
- uses : actions/checkout@v3
- uses : actions/checkout@v4
with:
ref : ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth : 0
- name : yarn-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
**/node_modules
@ -470,7 +470,7 @@ jobs:
key : ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}
- name : build-cache
uses : actions/cache@v3
uses : actions/cache@v4
with:
path : |
./*
@ -478,7 +478,7 @@ jobs:
key : ${{ github.event.pull_request.head.sha || github.sha }}
- name : foundry-install
uses : onbjerg /foundry-toolchain@v1
uses : foundry-rs /foundry-toolchain@v1
- name : Run tests with coverage
run : yarn coverage
@ -486,6 +486,6 @@ jobs:
NODE_OPTIONS : --max_old_space_size=4096
- name : Upload coverage reports to Codecov with GitHub Action
uses : codecov/codecov-action@v3
uses : codecov/codecov-action@v4
with:
token : ${{ secrets.CODECOV_TOKEN }}