Skip to content

Update benchmark

Update benchmark #413

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
permissions:
contents: write
deployments: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Collect Workflow Telemetry
uses: runforesight/workflow-telemetry-action@v2
with:
comment_on_pr: false
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo fmt --check
- run: cargo build
- run: cargo test
- run: cargo bench
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: "criterion_result"
path: ./target/criterion