Repository navigation
fix(swap-vm): reject building empty programs #304
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: PR validation | |
| on: | |
| pull_request: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 # Need full history for affected commands | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Build contracts | |
| run: pnpm build:contracts | |
| - name: Build packages | |
| run: pnpm affected:build --base=origin/${{ github.base_ref }} | |
| - name: Lint affected packages | |
| run: pnpm affected:lint --base=origin/${{ github.base_ref }} | |
| - name: Type Check all packages | |
| run: pnpm lint:types | |
| - name: Test affected packages | |
| run: pnpm affected:test --base=origin/${{ github.base_ref }} |