Skip to content

ci: add audit.toml

ci: add audit.toml #48

Workflow file for this run

name: Run tests
on:
pull_request:
paths:
- "**/*.rs"
- "Cargo.lock"
push:
paths:
- "**/*.rs"
- "Cargo.lock"
workflow_dispatch:
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
name: Run tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
- run: mkdir ./web/dist
- name: Run tests
run: cargo test --all --all-features
- name: Run clippy
run: cargo clippy --all-features -- -W warnings
- name: Run fmt
run: cargo fmt --all -- --check
continue-on-error: true