feat: Advanced factory contract #324
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: Verify Cairo programs compilation | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
compile_and_verify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Configure upstream repository | |
run: | | |
git remote add upstream https://github.com/NethermindEth/StarknetByExample | |
git fetch upstream main | |
- name: Install scarb | |
uses: software-mansion/setup-scarb@v1 | |
- name: Install snforge | |
uses: foundry-rs/setup-snfoundry@v3 | |
- name: Run build script | |
run: | | |
chmod +x scripts/cairo_programs_verifier.sh | |
./scripts/cairo_programs_verifier.sh |