Skip to content

Commit b06e190

Browse files
committed
Tries to isolate the MSRV to one place
1 parent a4142d9 commit b06e190

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ env:
1515
MSRV: 1.64.0
1616

1717
jobs:
18+
pass-msrv:
19+
runs-on: ubuntu-latest
20+
outputs:
21+
MSRV: ${{ env.MSRV }}
22+
steps:
23+
- name: Pass MSRV
24+
run: echo "MSRV=${{ env.MSRV }}" >> $GITHUB_OUTPUT
25+
1826
clippy:
1927
runs-on: ubuntu-latest
2028
strategy:
@@ -69,13 +77,14 @@ jobs:
6977
7078
tests:
7179
runs-on: ubuntu-latest
80+
needs: pass-msrv
7281
strategy:
7382
matrix:
7483
rust:
7584
- stable
7685
- beta
7786
- nightly
78-
- ${{ env.MSRV }}
87+
- ${{ needs.pass-msrv.outputs.MSRV }}
7988

8089
name: tests/${{ matrix.rust }}
8190
steps:

0 commit comments

Comments
 (0)