From 7016182d0158e1d58ed7d72124db342ea803546c Mon Sep 17 00:00:00 2001 From: Garen Tyler Date: Wed, 3 May 2023 22:19:52 -0600 Subject: [PATCH] Add clippy workflow --- .github/workflows/clippy.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/clippy.yml diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml new file mode 100644 index 0000000..37d5937 --- /dev/null +++ b/.github/workflows/clippy.yml @@ -0,0 +1,12 @@ +on: [push] +name: clippy +jobs: + clippy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - run: rustup component add clippy + - uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-features -- -A clippy::pedantic \ No newline at end of file