1name: Lint
2
3on:
4  push:
5    branches:
6      - master
7  pull_request:
8
9jobs:
10  clippy:
11    runs-on: ubuntu-latest
12    steps:
13      - uses: actions/checkout@v2
14
15      - uses: actions-rs/toolchain@v1
16        with:
17          toolchain: stable
18          profile: minimal
19          components: clippy
20      - uses: actions-rs/clippy-check@v1
21        with:
22          token: ${{ secrets.GITHUB_TOKEN }}
23          args: --all-features -- -W clippy::all
24