Skip to content

Pin all workflow actions to specific SHA #335

Pin all workflow actions to specific SHA

Pin all workflow actions to specific SHA #335

Workflow file for this run

---
name: Benchmarks
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
benchmarks:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@e013866c4215f77c925f42f60257dec7dd18836e
with:
channel: stable
cache-target: release
bins: cargo-codspeed
- name: Build the benchmark target(s)
run: cargo codspeed build
- name: Run the benchmarks
uses: CodSpeedHQ/action@ab07afd34cbbb7a1306e8d14b7cc44e029eee37a
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}