demonstrate 0.4.5

Declarative testing framework
Documentation
name: Continuous Integration

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

env:
  CARGO_TERM_COLOR: always

jobs:
  ci:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout sources 
      uses: actions/checkout@v2
      
    - name: Run test example
      run: cargo test --example full

  lint:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout sources 
      uses: actions/checkout@v2
      
    - name: Rust toolchain
      uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        override: true
        components: rustfmt, clippy
      
    - name: Cargo fmt
      run: cargo fmt --all -- --check
      
    - name: Clippy
      run: cargo clippy -- -D warnings