So that if taiki-e/install-action fallback to cargo-install, it will use the lockfile instead of latest version for every dep to ensure the compilation succeeds.
* Upgrade `cargo-binstall` if already installed
* Use `--force` for `cargo-binstall` in case bin is not cached
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
`--secure` mode enforce downloads over secure transports only.
As a result, http will be disabled, and it will also set
min tls version to be 1.2
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>