We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 230f7d7 commit 02876bcCopy full SHA for 02876bc
.github/workflows/test.yml
@@ -51,9 +51,13 @@ jobs:
51
features: ["", --features serde, --features tokio-1]
52
steps:
53
- uses: actions/checkout@master
54
+ - name: Get MSRV from Cargo.toml
55
+ run: |
56
+ MSRV=$(grep 'rust-version' Cargo.toml | sed 's/.*= *"\(.*\)".*/\1/')
57
+ echo "MSRV=$MSRV" >> $GITHUB_ENV
58
- uses: dtolnay/rust-toolchain@master
59
with:
- toolchain: 1.70.0
60
+ toolchain: ${{ env.MSRV }}
61
- uses: taiki-e/install-action@cargo-no-dev-deps
62
- run: cargo no-dev-deps check --all --all-targets ${{ matrix.features }}
63
0 commit comments