-
-
Notifications
You must be signed in to change notification settings - Fork 38
37 lines (29 loc) · 754 Bytes
/
codspeed.yml
File metadata and controls
37 lines (29 loc) · 754 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
30
31
32
33
34
35
36
37
name: Benchmarks
on:
push:
branches:
- "master"
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust:
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: css-inline
- run: cargo install cargo-codspeed
- run: cargo codspeed build
working-directory: ./css-inline
- uses: CodSpeedHQ/action@v4
with:
run: cargo codspeed run
mode: "instrumentation"
token: ${{ secrets.CODSPEED_TOKEN }}
working-directory: ./css-inline