ci: asynchronous + only modified files #122
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: {} | |
push: {} | |
jobs: | |
compile_and_verify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # Fetches all history for all branches and tags | |
- run: git fetch origin main:main # Explicitly fetch main branch | |
- name: Install scarb | |
uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "2.3.0" | |
- name: Run build script | |
run: | | |
chmod +x scripts/cairo_programs_verifier.sh | |
echo "Running cairo programs verifier" | |
./scripts/cairo_programs_verifier.sh |