Skip to content

Commit

Permalink
fix bench
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jul 12, 2024
1 parent 3e3aa26 commit 238b13b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
pull_request:
types: ["opened", "reopened", "synchronize"]

concurrency:
group: ${{ github.workflow }}-${{ github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
CI: 1
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -89,12 +93,12 @@ jobs:

- uses: ./.github/actions/setup-node

- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@v0
- name: Install cargo-codspeed
uses: baptiste0928/[email protected]
with:
channel: stable
cache-target: release
bins: cargo-codspeed
crate: cargo-codspeed
version: "2.6.0"
locked: true

- name: Build the benchmark target(s)
run: cargo codspeed build --workspace --exclude swc_plugin_runner
Expand Down

0 comments on commit 238b13b

Please sign in to comment.