From faad4baf926b7a374f4ee885f8f65405dea4defe Mon Sep 17 00:00:00 2001 From: "daniel.eades" Date: Fri, 25 Nov 2022 08:52:53 +0000 Subject: [PATCH] add clippy linting CI job --- .github/workflows/CI.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..de28a6d --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,24 @@ +on: + push: + branches: [master] + pull_request: + +name: Continuous integration + +jobs: + + clippy: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + profile: minimal + components: clippy + - uses: giraffate/clippy-action@v1 + with: + clippy_flags: --all --all-targets + filter_mode: nofilter