name: Clippy
on: [push, pull_request]
jobs:
  all:
    runs-on: ubuntu-latest
    steps:
      - uses: hecrj/setup-rust-action@v2
        with:
          rust-version: stable
          components: clippy
      - uses: actions/checkout@master
      - name: Check lints
        run: cargo clippy
