Skip to content

Minimal Supported Rust Version #1845

Minimal Supported Rust Version

Minimal Supported Rust Version #1845

Workflow file for this run

name: Minimal Supported Rust Version
on:
pull_request:
branches:
- master
merge_group:
branches:
- master
concurrency:
# Cancels pending runs when a PR gets updated.
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
msrv:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
# Show the Rust toolchain we are actually using
- run: rustup show
- run: cargo --version
- name: Install cargo-msrv
run: cargo install cargo-msrv
# Verify the MSRV defined in Cargo.toml
- name: Verify MSRV
run: cargo msrv verify
# If the previous step fails, find MSRV
- name: Find MSRV
if: failure()
run: cargo msrv