reool 0.30.0

An asynchrounous connection pool for Redis based on tokio and redis-rs
Documentation
name: CI

on: [push, pull_request]

jobs:
  build_nakadion:
    name: Build Reool
    strategy:
      matrix:
        features: ["--no-default-features", "--all-features", ""]
        rust: [
            1.45.0, # MSRV
            nightly, # it is good practise to test libraries against nightly to catch regressions in the compiler early
          ]
      fail-fast: false # don't want to kill the whole CI if nightly fails
    runs-on: ubuntu-latest
    steps:
      - name: Checkout sources
        uses: actions/checkout@v1

      - name: Install Rust
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: ${{ matrix.rust }}
          override: true

      - name: Cache target directory
        uses: actions/cache@v1
        with:
          path: target
          key: target-directory-${{ matrix.rust }}-${{ matrix.features }}-${{ hashFiles('Cargo.toml') }}
      - run: cargo build  ${{ matrix.features }}
      - run: cargo test  ${{ matrix.features }}
      - name: Run integration test against Redis
        if: matrix.rust != 'nightly' && matrix.features == ''
        run: |
          ./run_integration_test.sh