@@ -17,18 +17,18 @@ jobs:
1717 matrix :
1818 branch : [ base, head ]
1919 name : Build Cairo programs for ${{ matrix.branch }}
20- runs-on : ubuntu-22 .04
20+ runs-on : ubuntu-24 .04
2121 outputs :
2222 benchmark-hashes-base : ${{ steps.export-hashes.outputs.benchmark-hashes-base }}
2323 benchmark-hashes-head : ${{ steps.export-hashes.outputs.benchmark-hashes-head }}
2424 steps :
2525 - name : Checkout base commit
26- uses : actions/checkout@v3
26+ uses : actions/checkout@v4
2727 with :
2828 ref : ${{ github.event.pull_request[matrix.branch].sha }}
2929
3030 - name : Fetch from cache
31- uses : actions/cache@v3
31+ uses : actions/cache@v4
3232 id : cache
3333 with :
3434 path : ${{ matrix.branch }}_programs/*.json
@@ -63,22 +63,22 @@ jobs:
6363 matrix :
6464 branch : [ base, head ]
6565 name : Build cairo-vm-cli for ${{ matrix.branch }}
66- runs-on : ubuntu-22 .04
66+ runs-on : ubuntu-24 .04
6767 steps :
6868 - name : Populate cache
69- uses : actions/cache@v3
69+ uses : actions/cache@v4
7070 id : cache
7171 with :
7272 path : bin/cairo-vm-cli-${{ matrix.branch }}
7373 key : binary-${{ github.event.pull_request[matrix.branch].sha }}
7474
7575 - name : Install Rust
7676 if : ${{ steps.cache.outputs.cache-hit != 'true' }}
77- uses : dtolnay/rust-toolchain@1.81 .0
77+ uses : dtolnay/rust-toolchain@1.85 .0
7878
7979 - name : Checkout
8080 if : ${{ steps.cache.outputs.cache-hit != 'true' }}
81- uses : actions/checkout@v3
81+ uses : actions/checkout@v4
8282 with :
8383 ref : ${{ github.event.pull_request[matrix.branch].sha }}
8484
@@ -100,33 +100,33 @@ jobs:
100100 program_state : [ modified, unmodified ]
101101 name : Run benchmarks for ${{ matrix.program_state }} programs
102102 needs : [ build-programs, build-binaries ]
103- runs-on : ubuntu-22 .04
103+ runs-on : ubuntu-24 .04
104104 steps :
105105 - name : Install Hyperfine
106106 uses : taiki-e/install-action@v2
107107 with :
108- tool : hyperfine@1.16
108+ tool : hyperfine@1.19
109109
110110 - name : Fetch base binary
111- uses : actions/cache/restore@v3
111+ uses : actions/cache/restore@v4
112112 with :
113113 path : bin/cairo-vm-cli-base
114114 key : binary-${{ github.event.pull_request.base.sha }}
115115
116116 - name : Fetch HEAD binary
117- uses : actions/cache/restore@v3
117+ uses : actions/cache/restore@v4
118118 with :
119119 path : bin/cairo-vm-cli-head
120120 key : binary-${{ github.event.pull_request.head.sha }}
121121
122122 - name : Fetch base programs
123- uses : actions/cache/restore@v3
123+ uses : actions/cache/restore@v4
124124 with :
125125 path : base_programs/*.json
126126 key : benchmarks-base-${{ needs.build-programs.outputs.benchmark-hashes-base }}
127127
128128 - name : Fetch head programs
129- uses : actions/cache/restore@v3
129+ uses : actions/cache/restore@v4
130130 with :
131131 path : head_programs/*.json
132132 key : benchmarks-head-${{ needs.build-programs.outputs.benchmark-hashes-head }}
@@ -175,7 +175,7 @@ jobs:
175175
176176 - name : Find comment
177177 if : ${{ steps.run-benchmarks.outputs.benchmark_count != 0 }}
178- uses : peter-evans/find-comment@v2
178+ uses : peter-evans/find-comment@v3
179179 id : fc
180180 with :
181181 issue-number : ${{ github.event.pull_request.number }}
@@ -184,14 +184,14 @@ jobs:
184184
185185 - name : Create comment
186186 if : steps.fc.outputs.comment-id == '' && steps.run-benchmarks.outputs.benchmark_count != 0
187- uses : peter-evans/create-or-update-comment@v3
187+ uses : peter-evans/create-or-update-comment@v4
188188 with :
189189 issue-number : ${{ github.event.pull_request.number }}
190190 body-path : comment_body.md
191191
192192 - name : Update comment
193193 if : steps.fc.outputs.comment-id != '' && steps.run-benchmarks.outputs.benchmark_count != 0
194- uses : peter-evans/create-or-update-comment@v3
194+ uses : peter-evans/create-or-update-comment@v4
195195 with :
196196 comment-id : ${{ steps.fc.outputs.comment-id }}
197197 body-path : comment_body.md
0 commit comments