Skip to content

Improved API and implement match highlighting #30

Improved API and implement match highlighting

Improved API and implement match highlighting #30

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build test binaries
run: cargo test --no-run
- name: Run tests
run: cargo test --no-fail-fast
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: Build docs
run: cargo doc --no-deps
- name: Run Clippy lints
run: cargo clippy
- name: Check formatting
run: cargo fmt --check