File tree Expand file tree Collapse file tree 1 file changed +31
-10
lines changed Expand file tree Collapse file tree 1 file changed +31
-10
lines changed Original file line number Diff line number Diff line change 3232 with :
3333 tool : cargo-codspeed
3434
35+ - uses : actions/setup-node@v5
36+ with :
37+ node-version : 22
38+ cache : ' yarn'
39+ - name : Install dependencies
40+ run : yarn install
41+ - name : Download fixtures
42+ run : node download-fixtures.js
43+ env :
44+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3545 - name : Build benchmark
3646 run : cargo codspeed build --measurement-mode=walltime --features codspeed
47+ - name : Upload Fixtures
48+ uses : actions/upload-artifact@v4
49+ with :
50+ name : benchmark-fixtures
51+ path : fixtures
52+ - name : Upload rxjs
53+ uses : actions/upload-artifact@v4
54+ with :
55+ name : benchmark-rxjs
56+ path : node_modules/rxjs
3757 - name : Upload benchmark
3858 uses : actions/upload-artifact@v4
3959 with :
4565 needs : build
4666 steps :
4767 - uses : actions/checkout@v5
48- - uses : actions/setup-node@v5
49- with :
50- node-version : 22
51- cache : ' yarn'
52- - name : Install dependencies
53- run : yarn install
54- - name : Download fixtures
55- run : node download-fixtures.js
56- env :
57- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
68+
5869 - uses : taiki-e/install-action@v2
5970 with :
6071 tool : cargo-codspeed
6374 with :
6475 name : benchmark-binary
6576 path : target/codspeed
77+ - name : Download fixtures
78+ uses : actions/download-artifact@v5
79+ with :
80+ name : benchmark-fixtures
81+ path : fixtures
82+ - name : Download rxjs
83+ uses : actions/download-artifact@v5
84+ with :
85+ name : benchmark-rxjs
86+ path : node_modules/rxjs
6687 - name : Run benchmark
6788 uses : CodSpeedHQ/action@v4
6889 timeout-minutes : 15
You can’t perform that action at this time.
0 commit comments