We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1416e3e commit d52af5aCopy full SHA for d52af5a
1 file changed
.github/workflows/build.yml
@@ -12,12 +12,24 @@ env:
12
CARGO_TERM_COLOR: always
13
14
jobs:
15
+ prepare:
16
+ runs-on: ubuntu-latest
17
+ outputs:
18
+ msrv: ${{ steps.get-msrv.outputs.msrv }}
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - name: Get MSRV
22
+ id: get-msrv
23
+ run: |
24
+ MSRV=$(grep '^rust-version' Cargo.toml | cut -d '"' -f 2)
25
+ echo "msrv=$MSRV" >> $GITHUB_OUTPUT
26
build:
27
+ needs: prepare
28
strategy:
29
matrix:
30
versions:
31
- stable
- - '1.79.0' # MSRV
32
+ - ${{ needs.prepare.outputs.msrv }}
33
os:
34
- ubuntu-24.04
35
- macos-14
0 commit comments