mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
parent
73f7719e53
commit
db82c6935f
4 changed files with 8 additions and 23 deletions
2
.github/scripts/tests.sh
vendored
2
.github/scripts/tests.sh
vendored
|
@ -24,14 +24,12 @@ cargo binstall --help >/dev/null
|
|||
# Test that the installed binaries can be run
|
||||
cargo binstall --help >/dev/null
|
||||
|
||||
# Install binaries using secure mode
|
||||
min_tls=1.3
|
||||
[[ "${2:-}" == "Windows" ]] && min_tls=1.2 # WinTLS on GHA doesn't support 1.3 yet
|
||||
|
||||
"./$1" binstall \
|
||||
--force \
|
||||
--log-level debug \
|
||||
--secure \
|
||||
--min-tls-version $min_tls \
|
||||
--no-confirm \
|
||||
cargo-binstall
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue