Add clippy workflow

This commit is contained in:
Niklas Mohrin committed 2020-10-17 13:22:35 +02:00
1 parent f057a2113a
commit 8a11532a25
1 file changed
+15
+15
View File
@@ -47,6 +47,21 @@ jobs:
command: fmt
args: --all -- --check
clippy:
name: Clippy linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
links:
name: markdown-link-check
runs-on: ubuntu-latest