redis-universal-client 0.4.0

Simple wrapper around Client and ClusterClient, like go-redis UniversalClient
Documentation
name: test

on:
  push:
    branches: [main]
  pull_request:
    branches: ["*"]

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

env:
  CARGO_TERM_COLOR: always

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v6
    - name: set up Rust toolchain
      uses: dtolnay/rust-toolchain@stable
      with:
        components: clippy, rustfmt
    - name: build
      run: cargo build --all-targets --all-features
    - name: run clippy
      run: cargo clippy --all-targets --all-features -- --deny clippy::all
    - name: check formatting
      run: cargo fmt --check
    - name: install nextest
      uses: taiki-e/install-action@v2
      with:
        tool: nextest
    - name: run tests
      run: cargo nextest run --retries 3