Skip to content

add tests for substitution #10

add tests for substitution

add tests for substitution #10

Workflow file for this run

name: Rust
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: cargo test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: rustup toolchain install stable --profile minimal --no-self-update
- name: Check format
run: cargo fmt --check
- name: Check lockfile
run: cargo build --locked --all-targets
- name: Run tests
run: cargo test --offline
- name: Run clippy
run: cargo clippy --offline