tower-actor 0.2.0

A `tower` middleware that creates a `Service` by passing messages to an actor.
Documentation
on: [pull_request]

name: Rust CI

jobs:
  test:
    name: Test Suite
    runs-on: buildjet-16vcpu-ubuntu-2004
    steps:
      - uses: actions/checkout@v2
        with:
          lfs: true
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - uses: taiki-e/install-action@nextest
      - uses: Swatinem/rust-cache@v1
      - name: Run tests with nextest
        uses: actions-rs/cargo@v1
        with:
          command: nextest
          args: run --release
        env:
          CARGO_TERM_COLOR: always

  fmt:
    name: Rustfmt
    runs-on: buildjet-16vcpu-ubuntu-2004
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - uses: Swatinem/rust-cache@v1
      - run: rustup component add rustfmt
      - uses: actions-rs/cargo@v1
        with:
          command: fmt
          args: --all -- --check