feat(css_formatter): Add quoteStyle
for css formatting
#12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JavaScript Formatter Benchmark | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [ opened, synchronize ] | |
branches: | |
- main | |
paths: | |
- 'crates/biome_js_formatter/**' | |
- 'crates/biome_formatter/**' | |
push: | |
branches: | |
- main | |
paths: | |
- 'crates/biome_js_formatter/**' | |
- 'crates/biome_formatter/**' | |
env: | |
RUST_LOG: info | |
jobs: | |
bench: | |
permissions: | |
pull-requests: write | |
name: Bench | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout PR Branch | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ steps.sha.outputs.result }} | |
- name: Install toolchain | |
uses: moonrepo/setup-rust@v1 | |
with: | |
channel: stable | |
cache-target: release | |
bins: cargo-codspeed | |
- name: Compile | |
run: cargo codspeed build --features codspeed js_formatter -p xtask_bench | |
- name: Run the benchmarks | |
uses: CodSpeedHQ/action@v2 | |
timeout-minutes: 30 | |
with: | |
run: cargo codspeed run js_formatter | |
token: ${{ secrets.CODSPEED_TOKEN }} |