diff options
author | Thayne McCombs <astrothayne@gmail.com> | 2024-03-13 23:20:57 -0600 |
---|---|---|
committer | Thayne McCombs <astrothayne@gmail.com> | 2024-04-14 23:33:40 -0600 |
commit | cf6ff87c7df1a568559ca031be14fda613a1bab5 (patch) | |
tree | 2e6dd87a0bb559755cb7f253ceb8ad56cd7d9858 /.github | |
parent | 3cd73d79272206f25c86d1a30538402cbecf8b78 (diff) |
Add clippy using latest rust version to CI
Fixes: #1511
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/CICD.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 92a777e..c07c41c 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -44,6 +44,16 @@ jobs: - uses: actions/checkout@v4 - run: cargo fmt -- --check + lint_check: + name: Ensure 'cargo clippy' has no warnings + runs-on: ubuntu-latest + steps: + - uses: dtolnay/rust-toolchain@stable + with: + components: clippy + - uses: actions/checkout@v4 + - run: cargo clippy --all-targets --all-features -- -Dwarnings + min_version: name: Minimum supported rust version runs-on: ubuntu-20.04 |