Skip to content

Commit 4b5b20b

Browse files
committed
Add MSRV minimal versions in CI
1 parent 5eecd0b commit 4b5b20b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ jobs:
6868
os: [ubuntu-latest, windows-latest, macOS-latest]
6969
steps:
7070
- uses: actions/checkout@v4
71+
- uses: dtolnay/rust-toolchain@master
72+
if: matrix.rust.name == 'MSRV'
73+
with:
74+
toolchain: nightly-2022-11-05
75+
- name: cargo -Z minimal-versions update
76+
run: |
77+
cargo -Z minimal-versions update
78+
if: matrix.rust.name == 'MSRV'
7179
- uses: dtolnay/rust-toolchain@master
7280
with:
7381
toolchain: ${{matrix.rust.toolchain}}
@@ -78,7 +86,7 @@ jobs:
7886
~/.cargo/git
7987
~/.cargo/registry
8088
target
81-
key: "${{runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}}"
89+
key: "${{matrix.rust.toolchain}} on ${{runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}}"
8290
- run: cargo test --lib
8391
- run: cargo test --doc
8492

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy