Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Commit 500e35b

Browse files
committed
feat: update CI/CD
1 parent b78c30c commit 500e35b

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/verify_cairo_programs.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
name: Verify Cairo programs compilation
22

33
on:
4+
push:
5+
branches:
6+
- dev
47
pull_request:
58
branches:
69
- dev
10+
- main
711
workflow_dispatch:
812

913
jobs:
14+
typos:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: crate-ci/typos@master
19+
1020
compile_and_verify:
1121
runs-on: ubuntu-latest
1222

@@ -19,21 +29,15 @@ jobs:
1929
- name: Configure upstream repository
2030
run: |
2131
git remote add upstream https://github.com/NethermindEth/StarknetByExample
22-
git fetch upstream main
32+
git fetch upstream
2333
2434
- name: Install scarb
2535
uses: software-mansion/setup-scarb@v1
2636

2737
- name: Install snforge
2838
uses: foundry-rs/setup-snfoundry@v3
2939

30-
- name: Run build script
40+
- name: Verify changes
3141
run: |
3242
chmod +x scripts/cairo_programs_verifier.sh
3343
./scripts/cairo_programs_verifier.sh
34-
35-
typos:
36-
runs-on: ubuntu-latest
37-
steps:
38-
- uses: actions/checkout@v4
39-
- uses: crate-ci/typos@master

0 commit comments

Comments
 (0)