Skip to content

chore: clean-up code and documentation #73

chore: clean-up code and documentation

chore: clean-up code and documentation #73

Workflow file for this run

name: Tests
on:
push:
branches: [ trunk ]
pull_request:
branches: [ trunk ]
env:
CARGO_TERM_COLOR: always
# RUSTFLAGS: "-D warnings"
jobs:
format:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Check Format
run: cargo fmt -- --check
clippy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run Clippy
run: cargo clippy --all --all-features
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run Tests
run: cargo test --all --all-features