File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CodSpeed
2+
3+ on :
4+ push :
5+ branches :
6+ - " main"
7+ pull_request :
8+ # `workflow_dispatch` allows CodSpeed to trigger backtest
9+ # performance analysis in order to generate initial data.
10+ workflow_dispatch :
11+
12+ permissions :
13+ contents : read
14+ id-token : write
15+
16+ jobs :
17+ codspeed :
18+ name : Run benchmarks
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - name : Setup rust toolchain, cache and cargo-codspeed binary
24+ uses : moonrepo/setup-rust@v0
25+ with :
26+ channel : stable
27+ cache-target : release
28+ bins : cargo-codspeed
29+
30+ - name : Build the benchmark target(s)
31+ run : cargo codspeed build -m simulation
32+
33+ - name : Run the benchmarks
34+ uses : CodSpeedHQ/action@v4
35+ with :
36+ mode : simulation
37+ run : cargo codspeed run
Original file line number Diff line number Diff line change 22[ ![ Discord] ( https://img.shields.io/badge/discord-join-7289DA.svg?logo=discord&longCache=true&style=flat )] ( https://discord.gg/wQVJbvJ )
33[ ![ License] ( http://img.shields.io/badge/license-MIT-blue.svg )] ( https://github.com/uutils/diffutils/blob/main/LICENSE )
44[ ![ dependency status] ( https://deps.rs/repo/github/uutils/diffutils/status.svg )] ( https://deps.rs/repo/github/uutils/diffutils )
5+ [ ![ CodSpeed] ( https://img.shields.io/endpoint?url=https://codspeed.io/badge.json )] ( https://codspeed.io/uutils/diffutils?utm_source=badge )
56
67[ ![ CodeCov] ( https://codecov.io/gh/uutils/diffutils/branch/main/graph/badge.svg )] ( https://codecov.io/gh/uutils/diffutils )
78
You can’t perform that action at this time.
0 commit comments