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 21 - uses: actions-rs/clippy-check@v1 22 with: 23 token: ${{ secrets.GITHUB_TOKEN }} 24 args: --all-features -- -W clippy::all 25