From 45e9d666ffd4473b9dfee0c04a1d6c42ec2df2c4 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 8 Oct 2023 15:51:23 +0900 Subject: [PATCH] Add MSRV check to CI --- .github/workflows/ci.yml | 7 +++++++ Cargo.toml | 1 + 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 448da13..afd939e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,13 @@ jobs: run: cargo check -Z features=dev_dep - run: cargo test + msrv: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: taiki-e/install-action@cargo-hack + - run: cargo hack build --workspace --no-private --no-dev-deps --rust-version + clippy: runs-on: ubuntu-latest steps: diff --git a/Cargo.toml b/Cargo.toml index 97aeefc..831c43c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,7 @@ readme = "README.md" description = "Asynchronous TLS/SSL streams using Rustls." categories = ["asynchronous", "cryptography", "network-programming"] edition = "2021" +rust-version = "1.60" [workspace] resolver = "2"