docs(protocol): add ENS for important contracts #8269
Workflow file for this run
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
name: Protocol | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "packages/protocol/**" | |
pull_request: | |
paths: | |
- "packages/protocol/**" | |
jobs: | |
build-protocol: | |
runs-on: [taiko-runner] | |
permissions: | |
# Give the necessary permissions for stefanzweifel/git-auto-commit-action. | |
contents: write | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/[email protected] | |
- name: Install pnpm dependencies | |
uses: ./.github/actions/install-pnpm-dependencies | |
- name: Unit tests | |
working-directory: ./packages/protocol | |
run: pnpm clean && pnpm test | |
- name: Format solidity && update contract layout table | |
working-directory: ./packages/protocol | |
run: pnpm layout && forge fmt | |
- name: Commit contract layout table | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "forge fmt & update contract layout table" | |
- name: Generate genesis | |
working-directory: ./packages/protocol | |
run: pnpm test:genesis | |
- name: Run snapshot (Foundry) | |
working-directory: ./packages/protocol | |
run: pnpm snapshot | |
- name: Deploy L1 contracts | |
working-directory: ./packages/protocol | |
run: | | |
anvil --hardfork cancun & | |
while ! nc -z localhost 8545; do | |
sleep 1 | |
done | |
pnpm test:deploy |