Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for MSRV #340

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ jobs:
- rust: stable
target: x86_64-apple-darwin
os: macos-latest
# MSRV
- rust: nightly-2021-09-08
target: x86_64-unknown-linux-gnu
os: ubuntu-20.04

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -121,6 +117,23 @@ jobs:
cargo fmt --check -p mbedtls
cargo fmt --check -p mbedtls-platform-support
cargo fmt --check -p mbedtls-sys-auto
msrv:
name: MSRV
runs-on: ubuntu-20.04
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
persist-credentials: false

- uses: dtolnay/rust-toolchain@master
with:
toolchain: "nightly-2021-09-08"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a little strange to have the MSRV be a nightly build IMO.


- run: |
cargo check --locked --features ssl,rdrand,async-rt
cargo check --locked --no-default-features --features ssl,no_std_deps,rdrand,time
working-directory: mbedtls

ci-success:
name: ci
Expand Down
Loading