From e8c63d4613b1ec02fa05fd7378c311ba8e2c3ea9 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 11 Jan 2025 20:20:22 -0800 Subject: [PATCH] Skip `cargo test --release` on old rustc --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d82d5f0..e45d52e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,7 @@ jobs: - run: cargo test --release --test test_precedence env: RUSTFLAGS: ${{env.RUSTFLAGS}} ${{matrix.rust == 'nightly' && '--cfg exhaustive' || ''}} + if: matrix.rust != '1.62.0' - uses: actions/upload-artifact@v4 if: matrix.rust == 'nightly' && always() with: