Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Tests (Native)

Tests (Native) #617

Workflow file for this run

on: [push]
name: Tests (Native)
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache target
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo clippy -- -Dwarnings --no-deps
- run: cargo fmt -- --check
- run: cargo build --features "bin"
- run: cargo bench --no-run
- run: cargo test
- run: cargo doc --no-deps