-
-
Notifications
You must be signed in to change notification settings - Fork 10
29 lines (24 loc) · 667 Bytes
/
Copy pathbench.yml
File metadata and controls
29 lines (24 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: bench
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: actions-rust-lang/setup-rust-toolchain@2fcdc490d667999e01ddbbf0f2823181beef6b39
with:
toolchain: stable
components: cargo-codspeed
- name: Build the benchmark target(s)
run: cargo codspeed build
- name: Run the benchmarks
uses: CodSpeedHQ/action@653fdc30e6c40ffd9739e40c8a0576f4f4523ca1
with:
mode: instrumentation
run: cargo codspeed run