From 2383633e7580450f3f532783488da9cea8b9e676 Mon Sep 17 00:00:00 2001 From: jbesraa Date: Wed, 19 Jun 2024 11:05:51 +0300 Subject: [PATCH] Add MSRV 1.75 Github workflow check --- .github/workflows/rust-msrv.yaml | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/rust-msrv.yaml diff --git a/.github/workflows/rust-msrv.yaml b/.github/workflows/rust-msrv.yaml new file mode 100644 index 000000000..3384e4a2f --- /dev/null +++ b/.github/workflows/rust-msrv.yaml @@ -0,0 +1,37 @@ +on: + push: + branches: + - main + - dev + pull_request: + branches: + - main + - dev + +name: MSRV 1.75 Check + +jobs: + + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + rust: + - 1.75.0 # MSRV + + steps: + - uses: actions/checkout@v2 + - uses: Swatinem/rust-cache@v1.2.0 + - uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust }} + override: true + - name: Build Benches + run: cargo build --manifest-path=benches/Cargo.toml + - name: Build Protocols + run: cargo build --manifest-path=protocols/Cargo.toml + - name: Build Roles + run: cargo build --manifest-path=roles/Cargo.toml + - name: Build Utils + run: cargo build --manifest-path=utils/Cargo.toml