# of objects traced / moved #1236
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v2 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- 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 |