chore: add bench for v2 #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
description: 'Run with debug logging enabled' | |
type: boolean | |
required: false | |
default: false | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install Rust toolchain | |
shell: bash | |
run: | | |
rustup default stable | |
rustup component add rustfmt clippy | |
- name: Rust Cache | |
uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab #v2.7.5 | |
- name: Lint | |
run: make lint | |
- name: Format check | |
run: make fmt-check | |
- name: Test (std) | |
run: make test-std | |
- name: Test (no-std) | |
run: make test-no-std |