tide-sqlx 0.3.0

Tide middleware for SQLx pooled connections & transactions.
Documentation
name: CI

on:
  pull_request:
  push:
    branches:
      - latest

env:
  RUSTFLAGS: -Dwarnings

jobs:
  build_and_test:
    name: Build and test
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-20.04]
        rust: [stable]

    steps:
    - uses: actions/checkout@master

    - name: check
      run: cargo check --workspace --benches --bins --examples --tests --features=test

    - name: tests
      run: cargo test --all --features=test
      env:
        RUST_BACKTRACE: short

  check_fmt_and_docs:
    name: Checking fmt, clippy, and docs
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@master

    - name: install nightly
      run: rustup toolchain install nightly

    - name: clippy
      run: cargo clippy --workspace --benches --bins --examples --tests --features=test

    - name: fmt
      run: cargo fmt --all -- --check

    - name: docs
      run: cargo +nightly doc --no-deps