Skip to content

chore(deps): update rust crate criterion to 0.5.1 - autoclosed #163

chore(deps): update rust crate criterion to 0.5.1 - autoclosed

chore(deps): update rust crate criterion to 0.5.1 - autoclosed #163

Workflow file for this run

name: Rust
permissions: write-all
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: |
cargo test -- --format=pretty --nocapture
- name: Run benchmark
run: |
cargo install cargo-criterion
cargo +nightly criterion --output-format bencher 2> >(tee -a criterion.log >&2)
- name: push benchmark github page
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'cargo'
output-file-path: criterion.log
comment-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
- name: clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features