Skip to content

feat(biome_css_analyzer): noUnknownUnit (#2535) #2

feat(biome_css_analyzer): noUnknownUnit (#2535)

feat(biome_css_analyzer): noUnknownUnit (#2535) #2

Workflow file for this run

name: Benchmarks
on:
workflow_dispatch:
pull_request:
types: [ opened, synchronize ]
branches:
- main
paths:
- 'Cargo.lock'
- 'crates/**_parser/**/*.rs'
- 'crates/**_formatter/**/*.rs'
- 'crates/**_analyze/**/*.rs'
push:
branches:
- main
paths:
- 'Cargo.lock'
- 'crates/**_parser/**/*.rs'
- 'crates/**_formatter/**/*.rs'
- 'crates/**_analyze/**/*.rs'
env:
RUST_LOG: info
jobs:
bench:
permissions:
pull-requests: write
name: Bench
runs-on: ubuntu-latest
steps:
- name: Checkout PR Branch
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: ${{ steps.sha.outputs.result }}
- name: Install toolchain
uses: moonrepo/setup-rust@b8edcc56aab474d90c7cf0bb8beeaf8334c15e9f # v1
with:
channel: stable
cache-target: release
bins: cargo-codspeed
cache-base: main
- name: Compile
run: cargo codspeed build --features codspeed -p xtask_bench
- name: Run the benchmarks
uses: CodSpeedHQ/action@1dbf41f0ae41cebfe61e084e535aebe533409b4d # v2
timeout-minutes: 30
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}