File tree Expand file tree Collapse file tree 3 files changed +499
-47
lines changed
Expand file tree Collapse file tree 3 files changed +499
-47
lines changed Original file line number Diff line number Diff line change 1+ name : CodSpeed Benchmarks
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ # Allows CodSpeed to trigger backtest performance analysis
9+ # in order to generate initial baseline data.
10+ workflow_dispatch :
11+
12+ permissions :
13+ contents : read
14+ id-token : write # required for OIDC authentication with CodSpeed
15+
16+ jobs :
17+ benchmarks :
18+ name : Run benchmarks
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v6.0.2
22+
23+ - name : Setup Rust toolchain, cache and cargo-codspeed
24+ uses : moonrepo/setup-rust@v1.3.0
25+ with :
26+ channel : stable
27+ cache-target : release
28+ bins : cargo-codspeed
29+
30+ - name : Build benchmark targets
31+ run : cargo codspeed build
32+
33+ - name : Run benchmarks
34+ uses : CodSpeedHQ/action@v6.0.2
35+ with :
36+ run : cargo codspeed run
You can’t perform that action at this time.
0 commit comments