Skip to content

chore: reorganize directories #512

chore: reorganize directories

chore: reorganize directories #512

Workflow file for this run

name: CodSpeed
on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: Boshen/setup-rust@main
- name: Install codspeed
uses: taiki-e/install-action@v2
with:
tool: cargo-codspeed
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
version: 9
- name: Build fixtures
run: |
pnpm i
pnpm build-unshaken
working-directory: ./tasks/e2e
- name: Build benchmarks
run: cargo codspeed build
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: cargo codspeed run