-
-
Notifications
You must be signed in to change notification settings - Fork 39
31 lines (24 loc) · 605 Bytes
/
codspeed.yml
File metadata and controls
31 lines (24 loc) · 605 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
name: Benchmarks
on:
push:
branches:
- "master"
pull_request:
workflow_dispatch:
jobs:
rust:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- 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@v3
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
working-directory: ./css-inline