Skip to content

Use NonZero in MixedUnit for C strings (with criterion) #61

Use NonZero in MixedUnit for C strings (with criterion)

Use NonZero in MixedUnit for C strings (with criterion) #61

Workflow file for this run

on:
pull_request:
push:
permissions:
contents: read
name: CI
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
stable-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt
- run: cargo fmt -- --check
- run: cargo test
# Ensure that no untracked or tracked files have been added or modified.
- run: git diff --check --exit-code
nightly-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: clippy
# Check all entries, including tests and benchmarks.
- run: cargo clippy --all-targets