diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3a7bc6..a3f5d69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 348d760..ecc83f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ edition = "2018" license = "MIT OR Apache-2.0" description = "It executes futures" repository = "https://github.com/bertptrs/beul/" +rust-version = "1.51" authors = [ "Bert Peters", ] diff --git a/bors.toml b/bors.toml new file mode 100644 index 0000000..17a8468 --- /dev/null +++ b/bors.toml @@ -0,0 +1,6 @@ +status = [ + 'MSRV', + 'tests (stable)', + 'tests (beta)', + 'Miri', +]