-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into yield-warp-routes
- Loading branch information
Showing
516 changed files
with
27,621 additions
and
12,750 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
name: cron | ||
|
||
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows | ||
on: | ||
schedule: | ||
- cron: '45 14 * * *' | ||
workflow_dispatch: | ||
|
||
env: | ||
DEBUG: 'hyperlane:*' | ||
|
||
jobs: | ||
# copied from test.yml | ||
yarn-install: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.sha }} | ||
submodules: recursive | ||
|
||
- name: yarn-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
**/node_modules | ||
.yarn | ||
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }} | ||
|
||
- name: yarn-install | ||
run: yarn install | ||
|
||
# copied from test.yml | ||
yarn-build: | ||
runs-on: ubuntu-latest | ||
needs: [yarn-install] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.sha }} | ||
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: yarn-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
**/node_modules | ||
.yarn | ||
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }} | ||
|
||
- name: build-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
./* | ||
!./rust | ||
key: ${{ github.sha }} | ||
|
||
- name: build | ||
run: yarn build | ||
|
||
metadata-check: | ||
runs-on: ubuntu-latest | ||
needs: [yarn-build] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.sha }} | ||
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: yarn-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
**/node_modules | ||
.yarn | ||
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }} | ||
|
||
- name: build-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
./* | ||
!./rust | ||
key: ${{ github.sha }} | ||
|
||
- name: Metadata Health Check | ||
run: DEBUG=hyperlane yarn workspace @hyperlane-xyz/sdk run test:metadata | ||
|
||
- name: Post to discord webhook if metadata check fails | ||
if: failure() | ||
run: | | ||
curl -X POST -H 'Content-type: application/json' --data '{"content":"SDK metadata check failed, see ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}' ${{ secrets.DISCORD_WEBHOOK_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.