|
|
@ -28,6 +28,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
submodules: recursive |
|
|
|
submodules: recursive |
|
|
|
|
|
|
|
|
|
|
|
- name: yarn-cache |
|
|
|
- name: yarn-cache |
|
|
@ -54,6 +55,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
submodules: recursive |
|
|
|
submodules: recursive |
|
|
|
fetch-depth: 0 |
|
|
|
fetch-depth: 0 |
|
|
|
|
|
|
|
|
|
|
@ -71,7 +73,7 @@ jobs: |
|
|
|
path: | |
|
|
|
path: | |
|
|
|
./* |
|
|
|
./* |
|
|
|
!./rust |
|
|
|
!./rust |
|
|
|
key: ${{ github.sha }} |
|
|
|
key: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
|
|
|
|
|
|
|
|
- name: build |
|
|
|
- name: build |
|
|
|
run: yarn build |
|
|
|
run: yarn build |
|
|
@ -82,6 +84,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
# check out full history |
|
|
|
# check out full history |
|
|
|
fetch-depth: 0 |
|
|
|
fetch-depth: 0 |
|
|
|
|
|
|
|
|
|
|
@ -111,6 +114,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
submodules: recursive |
|
|
|
submodules: recursive |
|
|
|
fetch-depth: 0 |
|
|
|
fetch-depth: 0 |
|
|
|
|
|
|
|
|
|
|
@ -123,7 +127,7 @@ jobs: |
|
|
|
path: | |
|
|
|
path: | |
|
|
|
./* |
|
|
|
./* |
|
|
|
!./rust |
|
|
|
!./rust |
|
|
|
key: ${{ github.sha }} |
|
|
|
key: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Unit Tests |
|
|
|
- name: Unit Tests |
|
|
|
run: yarn test:ci |
|
|
|
run: yarn test:ci |
|
|
@ -134,6 +138,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
submodules: recursive |
|
|
|
submodules: recursive |
|
|
|
fetch-depth: 0 |
|
|
|
fetch-depth: 0 |
|
|
|
|
|
|
|
|
|
|
@ -151,7 +156,7 @@ jobs: |
|
|
|
path: | |
|
|
|
path: | |
|
|
|
./* |
|
|
|
./* |
|
|
|
!./rust |
|
|
|
!./rust |
|
|
|
key: ${{ github.sha }} |
|
|
|
key: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Metadata Health Check |
|
|
|
- name: Metadata Health Check |
|
|
|
run: yarn workspace @hyperlane-xyz/sdk run test:metadata |
|
|
|
run: yarn workspace @hyperlane-xyz/sdk run test:metadata |
|
|
@ -166,6 +171,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
submodules: recursive |
|
|
|
submodules: recursive |
|
|
|
|
|
|
|
|
|
|
|
- name: foundry-install |
|
|
|
- name: foundry-install |
|
|
@ -205,7 +211,7 @@ jobs: |
|
|
|
path: | |
|
|
|
path: | |
|
|
|
./* |
|
|
|
./* |
|
|
|
!./rust |
|
|
|
!./rust |
|
|
|
key: ${{ github.sha }} |
|
|
|
key: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
|
|
|
|
|
|
|
|
- name: cargo-cache |
|
|
|
- name: cargo-cache |
|
|
|
uses: actions/cache@v3 |
|
|
|
uses: actions/cache@v3 |
|
|
@ -251,6 +257,8 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
|
|
|
|
|
|
|
|
- name: foundry-install |
|
|
|
- name: foundry-install |
|
|
|
uses: onbjerg/foundry-toolchain@v1 |
|
|
|
uses: onbjerg/foundry-toolchain@v1 |
|
|
@ -261,7 +269,7 @@ jobs: |
|
|
|
path: | |
|
|
|
path: | |
|
|
|
./* |
|
|
|
./* |
|
|
|
!./rust |
|
|
|
!./rust |
|
|
|
key: ${{ github.sha }} |
|
|
|
key: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Fork test ${{ matrix.environment }} ${{ matrix.module }} ${{ matrix.chain }} deployment |
|
|
|
- name: Fork test ${{ matrix.environment }} ${{ matrix.module }} ${{ matrix.chain }} deployment |
|
|
|
run: cd typescript/infra && ./fork.sh ${{ matrix.environment }} ${{ matrix.module }} ${{ matrix.chain }} |
|
|
|
run: cd typescript/infra && ./fork.sh ${{ matrix.environment }} ${{ matrix.module }} ${{ matrix.chain }} |
|
|
@ -273,6 +281,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
fetch-depth: 0 |
|
|
|
fetch-depth: 0 |
|
|
|
|
|
|
|
|
|
|
|
- name: yarn-cache |
|
|
|
- name: yarn-cache |
|
|
@ -289,7 +298,7 @@ jobs: |
|
|
|
path: | |
|
|
|
path: | |
|
|
|
./* |
|
|
|
./* |
|
|
|
!./rust |
|
|
|
!./rust |
|
|
|
key: ${{ github.sha }} |
|
|
|
key: ${{ github.event.pull_request.head.sha || github.sha }} |
|
|
|
|
|
|
|
|
|
|
|
- name: foundry-install |
|
|
|
- name: foundry-install |
|
|
|
uses: onbjerg/foundry-toolchain@v1 |
|
|
|
uses: onbjerg/foundry-toolchain@v1 |
|
|
|