Commit Graph
8 Commits
Author SHA1 Message Date
Jiahao XU 81635a4e23 Pass --locked to cargo-binstall
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.
2023-05-29 12:53:36 +09:00
Jiahao XU 1fa8737224 Bump cargo-binstall to v0.18.1 (#32) 2022-12-14 10:26:38 +09:00
Jiahao XU 999ba40f44 Bump cargo-binstall to v0.16.0 (#28) 2022-10-18 16:04:12 +09:00
Jiahao XU 9f3710a281 Fix main.sh: bail on semver operators (#26)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-10-03 21:02:42 +09:00
Jiahao XU edbd1909dc Ensure that cargo-binstall 0.13.3 is used (#22)
* Ensure that 0.13.3 is used
* Remove passing deprecated `--secure` flag to `cargo-binstall`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-09-25 16:12:29 +09:00
Jiahao XU b9424a9dfb Cargo binstall force (#19)
* 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>
2022-08-13 16:02:28 +09:00
Jiahao XU 03433ef024 Enable secure mode for cargo-binstall (#9)
`--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>
2022-06-29 00:28:27 +09:00
Jiahao XU 2e2f046ba3 Use cargo-binstall as fallback in main.sh (#8)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-06-10 22:19:55 +09:00