Skip to content

Fix auto merge branches #1907

Fix auto merge branches

Fix auto merge branches #1907

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
# The cargo-msrv tool sometimes requires a higher Rust version than our current rust-toolchain.
run: cargo +stable 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