Skip to content

Commit d3772ba

Browse files
committed
ci: read MSRV from manifest
1 parent db79886 commit d3772ba

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16+
read_msrv:
17+
name: Read MSRV
18+
uses: actions-rust-lang/msrv/.github/workflows/msrv.yml@main
19+
1620
build_and_test:
21+
needs:
22+
- read_msrv
23+
1724
strategy:
1825
fail-fast: false
1926
matrix:
@@ -24,7 +31,7 @@ jobs:
2431
- { name: Windows, os: windows-latest, triple: x86_64-pc-windows-msvc }
2532
- { name: Windows (MinGW), os: windows-latest, triple: x86_64-pc-windows-gnu }
2633
version:
27-
- { name: msrv, version: 1.70.0 }
34+
- { name: msrv, version: "${{ needs.read_msrv.outputs.msrv }}" }
2835
- { name: stable, version: stable }
2936

3037
name: ${{ matrix.target.name }} / ${{ matrix.version.name }}

0 commit comments

Comments
 (0)