From edfcb81339ddb1af165c6293229a98b588a90af9 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sat, 27 Feb 2021 15:06:22 +0000 Subject: Run clippy on MSRV Since not all suggested clippy lints by stable clippy are supported on the MSRV of Alacritty, this commit moves the clippy checks to the MSRV. Unfortunately this will mean that our lints might be significantly behind, however it ensures our CI never blocks any code that should be valid. Developers themselves of course can still run the latest clippy to follow the up to date recommendations. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16fb8eb3..23379ab5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,11 +17,11 @@ jobs: - uses: actions/checkout@v2 - name: Stable run: cargo test + - name: Oldstable + run: | + rustup default 1.45.2 + cargo test - name: Clippy run: | rustup component add clippy cargo clippy --all-targets - - name: Oldstable - run: | - rustup default 1.43.1 - cargo test -- cgit v1.2.3-54-g00ecf