Mark minimum supported rust version

This commit is contained in:
2022-09-05 18:54:39 +02:00
parent 279654ea24
commit 4500f7237a
3 changed files with 25 additions and 1 deletions

View File

@@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
rust:
- "1.51" # minimum stable rust version
- stable
- beta
steps:
@@ -47,6 +46,24 @@ jobs:
command: clippy
args: --all-targets -- -D warnings
# Reduced build for the Minimum Supported Rust Version. It does not include the lints as some of
# them are out-of-date and result in false positives on the codebase, e.g. mutex_atomic.
msrv:
name: MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: "1.51"
override: true
- uses: actions-rs/cargo@v1
with:
command: test
miri:
name: Miri
runs-on: ubuntu-latest