Onchain growing from different mmr id #112
Workflow file for this run
This file contains hidden or 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: Solidity contract tests | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| FOUNDRY_PROFILE: ci | |
| jobs: | |
| solidity-contract-tests: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: solidity | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: oven-sh/setup-bun@v2 | |
| - uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Show Forge version | |
| run: | | |
| forge --version | |
| - name: Run Bun install | |
| run: | | |
| bun install | |
| - name: Init .env | |
| env: | |
| CONFIG_SECRET: ${{ secrets.ENV_CONFIG }} | |
| run: | | |
| printf "%s\n" "$CONFIG_SECRET" > .env | |
| - name: Run Hardhat build | |
| run: | | |
| bun compile | |
| - name: Run Hardhat test | |
| run: | | |
| bun run test |