motorx 0.0.18

A reverse-proxy in pure rust.
Documentation
on:
  pull_request:
  push:
    branches:
      - main
    tags-ignore:
      - 'v*'

jobs:
  fmt:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          ref: ${{ github.event.pull_request.head.sha }}
      - name: Install latest rust
        uses: actions-rs/toolchain@v1
        with:
            profile: minimal
            toolchain: stable
            components: rustfmt
      - name: Check Formatting
        run: |
          cargo fmt --all --check

  test:
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        # TODO: Set MSRV and add here
        rust-version: [stable]
      fail-fast: false
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v3
        with:
          ref: ${{ github.event.pull_request.head.sha }}
      - name: Install latest rust
        uses: actions-rs/toolchain@v1
        with:
            toolchain: ${{ matrix.rust-version }}
            profile: minimal
      - uses: taiki-e/install-action@nextest
      - uses: Swatinem/rust-cache@c5ed9ba6b7e1bb8aff90d43acd2f0af4990fa57c
      - uses: taiki-e/install-action@nextest
      - name: Run Tests
        uses: actions-rs/cargo@v1
        with:
          command: nextest
          args: run --all-features --workspace