aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-02-27 15:06:22 +0000
committerGitHub <noreply@github.com>2021-02-27 15:06:22 +0000
commitedfcb81339ddb1af165c6293229a98b588a90af9 (patch)
treee593588fe221cb22ba82765d2920840e0650f536 /.github
parent72b341425d8a27026d9dde00519a84f1a6b85bb9 (diff)
downloadalacritty-edfcb81339ddb1af165c6293229a98b588a90af9.tar.gz
alacritty-edfcb81339ddb1af165c6293229a98b588a90af9.zip
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.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 4 insertions, 4 deletions
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