Change the default testing branch for Julia tests #1887
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@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 |