frizbee 0.12.0

Fast typo-resistant fuzzy matching via SIMD smith waterman, similar algorithm to FZF/FZY
Documentation
name: Test

on:
  push:
    branches: ["main"]
  pull_request:
    branches: ["main"]

env:
  CARGO_TERM_COLOR: always

jobs:
  test:
    strategy:
      matrix:
        include:
          - os: ubuntu-24.04
          - os: ubuntu-24.04-arm
    runs-on: ${{ matrix.os }}

    steps:
      - uses: actions/checkout@v4

      - name: Build
        run: cargo build --verbose

      - name: Run tests
        run: cargo test --verbose

  msrv:
    runs-on: ubuntu-latest
    name: MSRV (${{ matrix.msrv }})

    strategy:
      matrix:
        msrv: ["1.89.0"]

    steps:
      - uses: actions/checkout@v4

      - name: Install ${{ matrix.msrv }}
        run: rustup toolchain install ${{ matrix.msrv }}

      - name: cargo +${{ matrix.msrv }} check
        run: cargo +${{ matrix.msrv }} check --all-targets --all-features

  clippy:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4

      - name: Run clippy
        run: cargo clippy --all-targets -- -D warnings

  miri:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4

      - name: Install nightly Miri
        run: rustup toolchain install nightly --component miri,rust-src

      - name: Set up Miri
        run: cargo +nightly miri setup

      - name: Run Miri tests
        run: cargo +nightly miri test

      - name: Run Miri tests with match_end_col
        run: cargo +nightly miri test --features match_end_col