Skip to content

Commit

Permalink
chore(ci): Fix CI (#9219)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Jul 12, 2024
1 parent a88d003 commit c40b5b9
Show file tree
Hide file tree
Showing 12 changed files with 145 additions and 147 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/cargo-install@v2.2.0
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
Loading

0 comments on commit c40b5b9

Please sign in to comment.