Skip to content

fix workflow file

fix workflow file #687

Workflow file for this run

name: Benchmark Reports
on: push
env:
CARGO_TERM_COLOR: always
NODE_VERSION: "18.17.1"
PYTHON_VERSION: "3.11"
RUST_TOOLCHAIN_VERSION: "1.80"
jobs:
runBenchmark:
runs-on: ubuntu-latest
name: run benchmark
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: alex/benching
- name: setup rust
uses: actions-rs/toolchain@v3
with:
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
- name: setup cargo criterion
run: cargo install cargo-criterion
- name: run benching script
run: ./build.py --ci-bench
- name: preserve bench artifacts
uses: actions/upload-artifact@v4
with:
name: benchmarks
path: |
*.json