Skip to content

Add a changelog entry for PR 377 #451

Add a changelog entry for PR 377

Add a changelog entry for PR 377 #451

Workflow file for this run

name: Benchmarks
on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
permissions: {}
jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@abb2d32350334249b178c401e5ec5836e0cd88d3
with:
channel: stable
cache-target: release
bins: cargo-codspeed
- name: Build the benchmark target(s)
run: cargo codspeed build
- name: Run the benchmarks in simulation mode
uses: CodSpeedHQ/action@f22792bfac16f3e14eb9fbea76f4a48e9cc22b93
with:
run: cargo codspeed run
mode: simulation