Skip to content

Update CodSpeedHQ/action action to v4.3.4 (#391) #372

Update CodSpeedHQ/action action to v4.3.4 (#391)

Update CodSpeedHQ/action action to v4.3.4 (#391) #372

Workflow file for this run

name: Benchmarks (CodSpeed)
on:
push:
branches:
- dev
pull_request:
workflow_dispatch:
permissions: {}
jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
persist-credentials: false
- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@ede6de059f8046a5e236c94046823e2af11ca670 # v1
with:
channel: stable
cache-target: release
bins: cargo-codspeed
- name: Build the benchmark target(s)
run: cargo codspeed build --features serde
- name: Run the benchmarks
uses: CodSpeedHQ/action@6a8e2b874c338bf81cc5e8be715ada75908d3871 # v4.3.4
with:
run: cargo codspeed run
mode: instrumentation