mirror of
https://github.com/danbulant/oxc
synced 2026-05-23 06:08:47 +00:00
Bumps [CodSpeedHQ/action](https://github.com/codspeedhq/action) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/codspeedhq/action/releases">CodSpeedHQ/action's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <p><strong>Full Changelog</strong>: <a href="https://github.com/CodSpeedHQ/action/compare/v1...v2.0.0">https://github.com/CodSpeedHQ/action/compare/v1...v2.0.0</a></p> <p>This major update greatly simplifies the action and moves all the core logic to the <a href="https://github.com/CodSpeedHQ/runner">https://github.com/CodSpeedHQ/runner</a> repo.</p> <p>Updating is as easy as changing <code>CodSpeedHQ/action@v1</code> to <code>CodSpeedHQ/action@v2</code>.</p> <h2>What's changed</h2> <ul> <li>feat: integrate the native runner with a composite action by <a href="https://github.com/art049"><code>@art049</code></a> and <a href="https://github.com/adriencaccia"><code>@adriencaccia</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/action/pull/86">CodSpeedHQ/action#86</a></li> </ul> <h3>Breaking changes</h3> <ul> <li><code>upload_url</code> input is now <code>upload-url</code></li> <li><code>pytest-codspeed</code> is no longer installed automatically by this action</li> </ul> <h2>v1.8.1</h2> <h2>What's Changed</h2> <ul> <li>fix: update apt registry before installing valgrind by <a href="https://github.com/adriencaccia"><code>@adriencaccia</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/action/pull/80">CodSpeedHQ/action#80</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/CodSpeedHQ/action/compare/v1.8.0...v1.8.1">https://github.com/CodSpeedHQ/action/compare/v1.8.0...v1.8.1</a></p> <h2>v1.8.0</h2> <h2>What's Changed</h2> <h3>Added</h3> <ul> <li>Add the <code>working-directory</code> input parameter by <a href="https://github.com/art049"><code>@art049</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/action/pull/77">CodSpeedHQ/action#77</a></li> </ul> <h3>Internals</h3> <ul> <li>Update documentation examples by <a href="https://github.com/adriencaccia"><code>@adriencaccia</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/action/pull/76">CodSpeedHQ/action#76</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/CodSpeedHQ/action/compare/v1.7.1...v1.8.0">https://github.com/CodSpeedHQ/action/compare/v1.7.1...v1.8.0</a></p> <h2>v1.7.1</h2> <h2>🎉 What's Changed</h2> <ul> <li>Prepare for release on GitHub Action Marketplace</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/CodSpeedHQ/action/compare/v1.7.0...v1.7.1">https://github.com/CodSpeedHQ/action/compare/v1.7.0...v1.7.1</a></p> <h2>v1.7.0</h2> <h2>🎉 What's Changed</h2> <ul> <li> <p>A <a href="https://github.com/CodSpeedHQ/valgrind-codspeed">fork of valgrind</a> is now used, allowing us to <a href="https://docs.codspeed.io/features/trace-generation/">generate execution traces</a> with Node and Python.</p> </li> <li> <p>V8 flags previously set as an environment variable <code>CODSPEED_V8_FLAGS</code> are now handled directly by the integration library and injected to Nodejs through our <a href="https://github.com/CodSpeedHQ/action/blob/main/dist/bin/node">custom node executable</a>.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md">CodSpeedHQ/action's changelog</a>.</em></p> </details> <details> <summary>Commits</summary> <ul> <li><a href="3cb272459e"><code>3cb2724</code></a> Release v2.0.1 🚀</li> <li><a href="6790ba286f"><code>6790ba2</code></a> feat: simplify action output</li> <li><a href="0c6eabe26d"><code>0c6eabe</code></a> fix: quiet the codspeed-runner installation</li> <li><a href="4f1d7b4ec1"><code>4f1d7b4</code></a> Release v2.0.0 🚀</li> <li><a href="de30d2b7e6"><code>de30d2b</code></a> chore: use full version in script and stop relying on pnpm</li> <li><a href="5a53587953"><code>5a53587</code></a> chore(ci): add multiline check</li> <li><a href="e2bcafd32c"><code>e2bcafd</code></a> feat: integrate the native runner with a composite action</li> <li><a href="e8372ebb5f"><code>e8372eb</code></a> chore: update readme with vitest</li> <li>See full diff in <a href="https://github.com/codspeedhq/action/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
name: Benchmark
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
types: [opened, synchronize]
|
|
paths:
|
|
- '**/*.rs'
|
|
- 'Cargo.lock'
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**/*.rs'
|
|
- 'Cargo.lock'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
benchmark:
|
|
name: Benchmark
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Branch
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true # Pull submodules for additional files
|
|
|
|
- name: Install Rust
|
|
uses: moonrepo/setup-rust@v1 # Cache everything to speed up compilation
|
|
with:
|
|
cache-base: main
|
|
|
|
- name: Install codspeed
|
|
uses: taiki-e/install-action@v2
|
|
with:
|
|
tool: cargo-codspeed
|
|
|
|
- name: Build Benchmark
|
|
run: cargo codspeed build --features codspeed -p oxc_benchmark
|
|
|
|
- name: Run benchmark
|
|
uses: CodSpeedHQ/action@v2
|
|
timeout-minutes: 30
|
|
with:
|
|
run: cargo codspeed run
|
|
token: ${{ secrets.CODSPEED_TOKEN }}
|