Skip to content

ci-msrv

ci-msrv #1466

Workflow file for this run

name: "ci-msrv"
on:
pull_request:
push:
branches:
- master
- main
- staging # for Bors
- trying # for Bors
schedule:
- cron: '00 05 * * *'
jobs:
msrv:
name: msrv
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: checkout_repo
uses: actions/checkout@v2
- name: install_rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- name: install_cargo_msrv
run: cargo install cargo-msrv
- name: version_of_cargo_msrv
run: cargo msrv --version
- name: run_cargo_msrv_verify
run: cargo msrv verify --output-format json -- cargo check --all-features
- name: run_cargo_msrv
if: ${{ failure() }}
run: cargo msrv find --output-format json -- cargo check --all-features
msrv-workspace-crates:
name: msrv-workspace-crates
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
crate: [
"rust-releases-core",
"rust-releases-io",
"rust-releases-rust-changelog",
"rust-releases-rust-dist",
]
steps:
- name: checkout_repo
uses: actions/checkout@v2
- name: install_rust
uses: dtolnay/rust-toolchain@stable
- name: install_cargo_msrv
run: cargo install cargo-msrv
- name: version_of_cargo_msrv
run: cargo msrv --version
- name: run_cargo_msrv_verify
run: cargo msrv verify --output-format json -- cargo check --all-features -p ${{ matrix.crate }}
- name: run_cargo_msrv
if: ${{ failure() }}
run: cargo msrv find --output-format json -- cargo check --all-features -p ${{ matrix.crate }}