From 093b20124aceef63e1306272bd4defdec9a87a91 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 (from #1558) --- .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 4119ba2050..35b28d8291 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,16 +36,12 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - rust: [stable, beta, "1.60.0"] + rust: [stable, beta] exclude: - os: macos-latest rust: beta - - os: macos-latest - rust: "1.60.0" - os: windows-latest rust: beta - - os: windows-latest - rust: "1.60.0" runs-on: ${{ matrix.os }} @@ -70,6 +66,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.60.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: