Skip to content

Fix regression (#5) #29

Fix regression (#5)

Fix regression (#5) #29

Workflow file for this run

name: Push
on:
push:
defaults:
run:
shell: bash
jobs:
build:
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
runner: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy
- name: Cache
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.runner }}
- run: cargo install cargo-criterion
- run: uname -a
- run: cargo fmt -- --check
- run: cargo clippy -- --deny warnings
- run: cargo test --release
- run: cargo criterion
miri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: miri
- name: Cache
uses: Swatinem/rust-cache@v2
with:
key: miri
- run: cargo miri test