Skip to content

Reduce use of magic numbers #50

Reduce use of magic numbers

Reduce use of magic numbers #50

Workflow file for this run

name: bench
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
bench:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@main
- name: Install cargo-codspeed
run: cargo binstall -y cargo-codspeed
- name: Build benchmarks
run: cargo codspeed build -p graviola-bench --features __bench_codspeed
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}