4040 test-without-features :
4141 runs-on : namespace-profile-medium-ubuntu-24-04-amd64
4242 steps :
43- - uses : actions/checkout@v4
43+ - uses : actions/checkout@v6
4444 - uses : ./.github/actions/bootstrap
4545 with :
4646 github_token : ${{ secrets.GITHUB_TOKEN }}
5151 test-with-transaction-serde-feature :
5252 runs-on : namespace-profile-medium-ubuntu-24-04-amd64
5353 steps :
54- - uses : actions/checkout@v4
54+ - uses : actions/checkout@v6
5555 - uses : ./.github/actions/bootstrap
5656 with :
5757 github_token : ${{ secrets.GITHUB_TOKEN }}
6262 test-with-cairo-native-feature :
6363 runs-on : namespace-profile-large-ubuntu-24-04-amd64
6464 steps :
65- - uses : actions/checkout@v4
65+ - uses : actions/checkout@v6
6666 - uses : ./.github/actions/bootstrap
6767 with :
6868 github_token : ${{ secrets.GITHUB_TOKEN }}
7373 test-with-tracing-feature :
7474 runs-on : namespace-profile-medium-ubuntu-24-04-amd64
7575 steps :
76- - uses : actions/checkout@v4
76+ - uses : actions/checkout@v6
7777 - uses : ./.github/actions/bootstrap
7878 with :
7979 github_token : ${{ secrets.GITHUB_TOKEN }}
@@ -82,11 +82,11 @@ jobs:
8282 - run : cargo test -p blockifier --features tracing
8383
8484 benchmarking :
85- runs-on : namespace-profile-large -ubuntu-24-04-amd64
85+ runs-on : namespace-profile-xlarge -ubuntu-24-04-amd64
8686 if : ${{ github.event_name == 'pull_request' }}
8787 steps :
8888 # Checkout the base branch to benchmark the old code.
89- - uses : actions/checkout@v4
89+ - uses : actions/checkout@v6
9090 with :
9191 ref : ${{ github.base_ref }}
9292
@@ -95,18 +95,23 @@ jobs:
9595 github_token : ${{ secrets.GITHUB_TOKEN }}
9696
9797 # Benchmark the base branch code.
98- - name : Benchmark base branch (Base branch )
98+ - name : Benchmark (Base Branch )
9999 run : cargo run -p bench_tools -- run --package blockifier --out /tmp/base_results
100100
101101 # Checkout the PR branch into a unique subdirectory to avoid overwriting
102102 # the base branch's composite action files at the workspace root, and to
103103 # avoid colliding with any repo folder (e.g. one named "pr").
104- - uses : actions/checkout@v4
104+ - uses : actions/checkout@v6
105105 with :
106106 path : pr-${{ github.run_id }}
107107
108+ # Copy base branch Criterion baseline into PR dir so run-and-compare finds it.
109+ - run : |
110+ mkdir -p pr-${{ github.run_id }}/target
111+ cp -r target/criterion pr-${{ github.run_id }}/target/
112+
108113 # Benchmark the current branch and compare to the previous run.
109- - name : Benchmark current branch (Feature branch )
114+ - name : Benchmark (Feature Branch )
110115 working-directory : pr-${{ github.run_id }}
111116 run : |
112117 cargo run -p bench_tools -- run-and-compare \
0 commit comments