@@ -82,16 +82,11 @@ jobs:
82
82
uses : astral-sh/setup-uv@v5
83
83
with :
84
84
enable-cache : true
85
- - name : Set python env
85
+ - name : Install python deps
86
86
if : steps.cache-programs.outputs.cache-hit != 'true'
87
87
&& matrix.program-target != 'cairo_1_test_contracts'
88
88
&& matrix.program-target != 'cairo_2_test_contracts'
89
- run : uv python install 3.9.15 && uv python pin 3.9.15
90
- - name : Install python dependencies
91
- if : steps.cache-programs.outputs.cache-hit != 'true'
92
- && matrix.program-target != 'cairo_1_test_contracts'
93
- && matrix.program-target != 'cairo_2_test_contracts'
94
- run : uv pip install -r requirements.txt
89
+ run : make ci-python-deps && . cairo-vm-env/bin/activate && echo PATH=$PATH >> $GITHUB_ENV
95
90
96
91
- name : Install cairo 1 compiler
97
92
if : steps.cache-programs.outputs.cache-hit != 'true' && matrix.program-target == 'cairo_1_test_contracts'
@@ -459,12 +454,9 @@ jobs:
459
454
uses : astral-sh/setup-uv@v5
460
455
with :
461
456
enable-cache : true
462
- - name : Set python env
463
- if : steps.trace-cache.outputs.cache-hit != 'true'
464
- run : uv python install 3.9.15 && uv python pin 3.9.15
465
- - name : Install python dependencies
457
+ - name : Install python deps
466
458
if : steps.trace-cache.outputs.cache-hit != 'true'
467
- run : uv pip install -r requirements.txt
459
+ run : make ci-python-deps && . cairo-vm-env/bin/activate && echo PATH=$PATH >> $GITHUB_ENV
468
460
469
461
- name : Fetch programs
470
462
if : steps.trace-cache.outputs.cache-hit != 'true'
@@ -718,10 +710,8 @@ jobs:
718
710
uses : astral-sh/setup-uv@v5
719
711
with :
720
712
enable-cache : true
721
- - name : Set python env
722
- run : uv python install 3.9.15 && uv python pin 3.9.15
723
- - name : Install python dependencies
724
- run : uv pip install -r requirements.txt
713
+ - name : Install python deps
714
+ run : make ci-python-deps && . cairo-vm-env/bin/activate && echo PATH=$PATH >> $GITHUB_ENV
725
715
726
716
- name : Install cairo-lang and deps
727
717
run : |
@@ -745,10 +735,8 @@ jobs:
745
735
uses : astral-sh/setup-uv@v5
746
736
with :
747
737
enable-cache : true
748
- - name : Set python env
749
- run : uv python install 3.9.15 && uv python pin 3.9.15
750
- - name : Install python dependencies
751
- run : uv pip install -r requirements.txt
738
+ - name : Install python deps
739
+ run : make ci-python-deps && . cairo-vm-env/bin/activate && echo PATH=$PATH >> $GITHUB_ENV
752
740
753
741
- name : Fetch release binary
754
742
uses : actions/cache/restore@v3
@@ -784,10 +772,8 @@ jobs:
784
772
uses : astral-sh/setup-uv@v5
785
773
with :
786
774
enable-cache : true
787
- - name : Set python env
788
- run : uv python install 3.9.15 && uv python pin 3.9.15
789
- - name : Install python dependencies
790
- run : uv pip install -r requirements.txt
775
+ - name : Install python deps
776
+ run : make ci-python-deps && . cairo-vm-env/bin/activate && echo PATH=$PATH >> $GITHUB_ENV
791
777
792
778
- name : Fetch release binary
793
779
uses : actions/cache/restore@v3
@@ -835,10 +821,8 @@ jobs:
835
821
uses : astral-sh/setup-uv@v5
836
822
with :
837
823
enable-cache : true
838
- - name : Set python env
839
- run : uv python install 3.9.15 && uv python pin 3.9.15
840
- - name : Install python dependencies
841
- run : uv pip install -r requirements.txt
824
+ - name : Install python deps
825
+ run : make ci-python-deps && . cairo-vm-env/bin/activate && echo PATH=$PATH >> $GITHUB_ENV
842
826
843
827
- name : Fetch release binary
844
828
uses : actions/cache/restore@v3
0 commit comments