From a66ee197975bd416a696fe2a76b53e66bcf01581 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 9 May 2023 11:42:49 +0200 Subject: [PATCH] Only check libraries against MSRV --- .github/workflows/rust.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 00c0f960a..22da8d80a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -34,16 +34,12 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - rust: [stable, beta, 1.63.0] + rust: [stable, beta] exclude: - os: macos-latest rust: beta - - os: macos-latest - rust: 1.63.0 - os: windows-latest rust: beta - - os: windows-latest - rust: 1.63.0 runs-on: ${{ matrix.os }} @@ -68,6 +64,21 @@ jobs: command: test args: --manifest-path fuzz/Cargo.toml + msrv: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: 1.63.0 + override: true + - uses: Swatinem/rust-cache@v1 + - uses: actions-rs/cargo@v1 + with: + command: check + args: --lib --all-features -p quinn-udp -p quinn-proto -p quinn + lint: runs-on: ubuntu-latest steps: