rou3 0.1.1

๐ŸŒณ Lightweight and fast rou(ter) for Rust
Documentation
name: โŒ› Test Code

on:
  workflow_call:
  push:
    branches:
      - main
  pull_request:
     branches:
       - main

jobs:
  test:
    name: ๐Ÿงช Test on ${{ matrix.target }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        include:
          # Linux (x64)
          - target: x86_64-unknown-linux-gnu
            os: ubuntu-latest
          # Linux (ARM)
          - target: aarch64-unknown-linux-gnu
            os: ubuntu-24.04-arm
          # macOS (Intel)
          - target: x86_64-apple-darwin
            os: macos-latest
          # macOS (ARM/M1)
          - target: aarch64-apple-darwin
            os: macos-latest
          # Windows (GNU)
          - target: x86_64-pc-windows-gnu
            os: windows-latest
          # Windows (MSVC)
          - target: x86_64-pc-windows-msvc
            os: windows-latest

    steps:
      - name: ๐Ÿ›Ž๏ธ Checkout code
        uses: actions/checkout@v6

      - name: ๐Ÿฆ€ Set up Rust
        uses: dtolnay/rust-toolchain@stable
        with:
          target: ${{ matrix.target }}
          components: rustfmt, clippy

      - name: ๐Ÿ“ฆ Install Dependencies
        run: cargo install cargo-nextest --locked

      - name: ๐Ÿงช Run Tests
        run: cargo nextest run --target ${{ matrix.target }}