File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,15 +31,14 @@ jobs:
3131 - name : Check formatting
3232 if : matrix.check-fmt
3333 run : rustup component add rustfmt && cargo fmt --all -- --check
34- - name : Pin packages to allow for MSRV
34+ - name : Use minimal lock file for MSRV
3535 if : matrix.msrv
36- run : |
37- cargo update -p home --precise "0.5.9" --verbose # home v0.5.11 requires rustc 1.81 or newer
36+ run : cp Cargo-minimal.lock Cargo.lock
3837 - name : Build on Rust ${{ matrix.toolchain }}
39- run : cargo build --verbose --color always
38+ run : cargo build --verbose --color always --locked
4039 - name : Test on Rust ${{ matrix.toolchain }}
41- run : cargo test
40+ run : cargo test --locked
4241 - name : Cargo check release on Rust ${{ matrix.toolchain }}
43- run : cargo check --release
42+ run : cargo check --release --locked
4443 - name : Cargo check doc on Rust ${{ matrix.toolchain }}
45- run : cargo doc --release
44+ run : cargo doc --release --locked
You can’t perform that action at this time.
0 commit comments