File tree Expand file tree Collapse file tree 5 files changed +16
-16
lines changed
Expand file tree Collapse file tree 5 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ permissions:
44
55on :
66 push :
7- branches : [dev ]
7+ branches : [${{ github.event.repository.default_branch }} ]
88
99jobs :
1010 autoupdate :
2727 - uses : peter-evans/rebase@v3
2828 with :
2929 token : ${{ secrets.PAT }}
30- base : dev
30+ base : ${{ github.event.repository.default_branch }}
3131 include-labels : |
3232 autoupdate-rebase
3333 exclude-labels : |
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ concurrency:
1818
1919jobs :
2020 cairo_tests :
21- runs-on : starkware- ubuntu-24.04-small
21+ runs-on : ubuntu-latest
2222 steps :
2323 - name : Checkout repository
2424 uses : actions/checkout@v4
2525
2626 - name : Install Starknet Foundry
27- - uses : foundry-rs/setup-snfoundry@v3
27+ uses : foundry-rs/setup-snfoundry@v3
2828 with :
2929 starknet-foundry-version : " 0.45.0"
3030
@@ -44,15 +44,15 @@ jobs:
4444 run : scarb test -w --coverage
4545
4646 - name : Upload coverage to Codecov
47- - uses : codecov/codecov-action@v5
47+ uses : codecov/codecov-action@v5
4848 with :
4949 token : ${{ secrets.CODECOV_TOKEN }}
5050 fail_ci_if_error : true
5151 verbose : true
5252
5353
5454 python_tests :
55- runs-on : starkware- ubuntu-24.04-large
55+ runs-on : ubuntu-latest
5656 steps :
5757 - uses : actions/checkout@v4
5858
Original file line number Diff line number Diff line change 1- starknet-foundry 0.45 .0
2- scarb 2.11.4
1+ starknet-foundry 0.49 .0
2+ scarb 2.12.2
33starknet-devnet 0.3.0
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ In this repo run
3333``` bash
3434git clone https://github.com/starkware-libs/template-cairo-repo.git
3535cd template-cairo-repo
36- git log --oneline
37- git format-patch -1 < commit_hash >
36+ git fetch origin
37+ git format-patch 40b4468^..HEAD
3838```
3939This will create a file like 0001-Your-commit-message.patch.
4040
@@ -43,7 +43,7 @@ In the new repo run
4343git clone https://github.com/username/new-repo.git
4444cd new-repo
4545git am ../template-cairo-repo/0001-Your-commit-message.patch
46- git push origin dev
46+ git push origin < branch-name >
4747```
4848
4949Make sure to edit Scarb.toml to define workspace in this repo.
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ edition = "2024_07"
1111license-file = " LICENSE"
1212
1313[workspace .dependencies ]
14- starknet = " 2.11.4 "
15- snforge_std = " 0.45 .0"
16- assert_macros = " 2.11.4 "
14+ starknet = " 2.12.2 "
15+ snforge_std = " 0.49 .0"
16+ assert_macros = " 2.12.2 "
1717openzeppelin = " 2.0.0"
1818openzeppelin_testing = " 4.2.0"
19- starkware_utils = { git =" https://github.com/starkware-libs/starkware-starknet-utils" , rev =" e716f3538e5edfefe441e3a8c207710460e3d511 " }
20- starkware_utils_testing = { git =" https://github.com/starkware-libs/starkware-starknet-utils" , rev =" e716f3538e5edfefe441e3a8c207710460e3d511 " }
19+ starkware_utils = { git =" https://github.com/starkware-libs/starkware-starknet-utils" , rev =" e11de236fe1e36c9556690749f834b6d0e1c4d49 " }
20+ starkware_utils_testing = { git =" https://github.com/starkware-libs/starkware-starknet-utils" , rev =" e11de236fe1e36c9556690749f834b6d0e1c4d49 " }
2121
2222[workspace .tool .fmt ]
2323sort-module-level-items = true
You can’t perform that action at this time.
0 commit comments