cli-clipboard 0.4.0

cli-clipboard is a cross-platform library for getting and setting the contents of the OS-level clipboard.
Documentation
name: Rust

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

env:
  CARGO_TERM_COLOR: always

jobs:
  test:
    name: Test on ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]

    steps:
    - uses: actions/checkout@v2
    - name: Setup xcb
      if: ${{ matrix.os == 'ubuntu-latest' }}
      run: sudo apt-get install libxcb-xfixes0-dev
    - name: Setup rust toolchain
      uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        components: rustfmt, clippy
    - name: Clippy
      run: cargo clippy
    - name: RustFmt
      run: cargo fmt -- --check
    - name: Run tests
      uses: GabrielBB/xvfb-action@v1.2
      with:
        run: cargo test --verbose -- --test-threads=1
    - name: Build
      run: cargo build