v0.5.7 #3046
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: Tests-PR | |
| on: | |
| pull_request: | |
| jobs: | |
| lint: | |
| name: Prettier lint check | |
| uses: bgd-labs/github-workflows/.github/workflows/foundry-lint-prettier.yml@main | |
| test: | |
| name: Foundry build n test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| token: ${{ secrets.READ_ONLY_PAT || github.token }} | |
| - name: Run Foundry setup | |
| uses: bgd-labs/github-workflows/.github/actions/foundry-setup@main | |
| with: | |
| FOUNDRY_VERSION: stable | |
| - name: Run Forge size | |
| uses: bgd-labs/github-workflows/.github/actions/foundry-size@main | |
| - name: Run Gas report | |
| uses: bgd-labs/github-workflows/.github/actions/foundry-gas-report@main | |
| - name: Run Forge tests | |
| uses: bgd-labs/github-workflows/.github/actions/foundry-test@main | |
| with: | |
| FOUNDRY_PROFILE: pr | |
| FORGE_SNAPSHOT_CHECK: true | |
| - name: Upload & Trigger Comment artifact | |
| uses: bgd-labs/github-workflows/.github/actions/comment-artifact@main | |
| with: | |
| nameSuffix: "default" |