diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0b1f3ce..66d8a444 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,9 @@ jobs: uses: hecrj/setup-rust-action@v1 with: rust-version: ${{ matrix.rust }} - - if: matrix.rust != 'beta' + - if: matrix.rust == 'stable' || matrix.rust == "nightly" run: rustup component add clippy - - if: matrix.rust != 'beta' + - if: matrix.rust == 'stable' || matrix.rust == "nightly" run: cargo clippy --all-features -- -D warnings - if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest' run: cargo fmt --all -- --check