slick 0.11.1

async ZSH prompt
Documentation
name: test and build

on: [push, pull_request]

env:
  CARGO_TERM_COLOR: always

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          ref: ${{ inputs.branch }}

      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true

      - name: cargo version
        run: cargo -V

      - name: check
        run: cargo check

      - name: test
        run: cargo test

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

      - name: clippy
        run: cargo clippy -- -D clippy::all -D clippy::nursery -D warnings

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
      - name: Checkou code
        uses: actions/checkout@v2

      - name: Build project
        run: cargo build --release --locked