timbre 0.3.0

A library for audio processing with composable effects.
Documentation
name: CI

on: [push, pull_request]

env:
  CARGO_TERM_COLOR: always

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest]
        rust: ['1.44.0', stable, nightly]

    runs-on: ${{ matrix.os }}

    steps:
    - name: Checkout
      uses: actions/checkout@v2
      with:
        lfs: true

    - name: Install Rust toolchain
      run: |
        rustup update ${{ matrix.rust }}
        rustup default ${{ matrix.rust }}
        rustup component add clippy
    - name: Generate Cargo lockfile
      run: cargo generate-lockfile --verbose
    - name: Restore Cargo cache
      uses: actions/cache@v2
      with:
        path: |
          ~/.cargo/registry
          ~/.cargo/git
          target
        key: cargo-${{ matrix.rust }}-${{ runner.os }}-${{ hashFiles('**/Cargo.lock', '.github/workflows/*') }}

    - name: Clippy
      run: cargo clippy --verbose --all-targets --all-features -- -D clippy::all
    - name: Build
      run: cargo build --verbose --all-targets

    - name: Find
      run: find .
      if: ${{ matrix.os == 'ubuntu-latest' }}

    - name: Run tests
      run: cargo test --all-targets --verbose
    - run: cargo test --doc --verbose
      if: ${{ matrix.rust == '1.44.0' }}

  format:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Check format
      run: cargo fmt --verbose -- --check --verbose