chore(main): release supplementary-contracts 1.0.0 #102
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: Supplementary Contracts | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "packages/supplementary-contracts/**" | |
pull_request: | |
paths: | |
- "packages/supplementary-contracts/**" | |
jobs: | |
build-supplementary-contracts: | |
runs-on: [taiko-runner] | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/cancel-workflow-action@0.12.1 | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly-2cb875799419c907cc3709e586ece2559e6b340e | |
- name: Install pnpm dependencies | |
uses: ./.github/actions/install-pnpm-dependencies | |
- name: Unit Tests | |
working-directory: ./packages/supplementary-contracts | |
run: pnpm clean && pnpm test | |
- name: Format solidity && update contract layout table | |
working-directory: ./packages/supplementary-contracts | |
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" |