MSRV #5
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: Scheduled jobs | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
schedule: | |
# Every Monday at 14:45 UTC | |
- cron: '45 14 * * 1' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
msrv: | |
name: msrv | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- run: cargo install cargo-msrv | |
- run: cargo msrv --output-format json verify -- cargo check --all-targets | |
# If the verify fails, find the actual MSRV | |
- run: cargo msrv --output-format json -- cargo check --all-targets | |
if: ${{ failure() }} |