Skip to content

Commit

Permalink
ci: read MSRV from manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed May 12, 2024
1 parent 1db640f commit e334248
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ concurrency:
cancel-in-progress: true

jobs:
read_msrv:
name: Read MSRV
uses: actions-rust-lang/msrv/.github/workflows/msrv.yml@main

build_and_test:
needs:
- read_msrv

strategy:
fail-fast: false
matrix:
Expand All @@ -24,7 +31,7 @@ jobs:
- { name: Windows, os: windows-latest, triple: x86_64-pc-windows-msvc }
- { name: Windows (MinGW), os: windows-latest, triple: x86_64-pc-windows-gnu }
version:
- { name: msrv, version: 1.70.0 }
- { name: msrv, version: "${{ needs.read_msrv.outputs.msrv }}" }
- { name: stable, version: stable }

name: ${{ matrix.target.name }} / ${{ matrix.version.name }}
Expand Down

0 comments on commit e334248

Please sign in to comment.