Skip to content

Commit 4328222

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

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Diff for: .github/workflows/verify_cairo_programs.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@ on:
44
pull_request:
55
branches:
66
- dev
7+
- main
78
workflow_dispatch:
89

910
jobs:
11+
typos:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: crate-ci/typos@master
16+
1017
compile_and_verify:
1118
runs-on: ubuntu-latest
1219

@@ -19,21 +26,15 @@ jobs:
1926
- name: Configure upstream repository
2027
run: |
2128
git remote add upstream https://github.com/NethermindEth/StarknetByExample
22-
git fetch upstream main
29+
git fetch upstream
2330
2431
- name: Install scarb
2532
uses: software-mansion/setup-scarb@v1
2633

2734
- name: Install snforge
2835
uses: foundry-rs/setup-snfoundry@v3
2936

30-
- name: Run build script
37+
- name: Verify changes
3138
run: |
3239
chmod +x scripts/cairo_programs_verifier.sh
3340
./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)