File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,18 @@ name: Run snarkVM Benchmarks
3
3
on :
4
4
push :
5
5
branches :
6
- - ' mainnet '
6
+ - ' staging '
7
7
8
8
jobs :
9
9
# Run benchmarks and stores the output to a file
10
10
benchmark :
11
11
name : Benchmark
12
12
runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : write
13
15
steps :
14
16
- name : Checkout
15
- uses : actions/checkout@v2
17
+ uses : actions/checkout@v4
16
18
17
19
- name : Install Rust
18
20
uses : actions-rs/toolchain@v1
21
23
toolchain : stable
22
24
override : true
23
25
24
- - uses : actions/cache@v2
26
+ - uses : actions/cache@v4
25
27
with :
26
28
path : |
27
29
~/.cargo/registry
@@ -94,13 +96,13 @@ jobs:
94
96
95
97
# Download previous benchmark result from cache (if exists)
96
98
- name : Download previous benchmark data
97
- uses : actions/cache@v1
99
+ uses : actions/cache@v4
98
100
with :
99
101
path : ./cache
100
102
key : ${{ runner.os }}-benchmark
101
103
102
104
- name : Store benchmark result
103
- uses : rhysd /github-action-benchmark@v1
105
+ uses : benchmark-action /github-action-benchmark@v1
104
106
with :
105
107
name : snarkVM Benchmarks
106
108
tool : ' cargo'
You can’t perform that action at this time.
0 commit comments