Commit Graph

178 Commits

Author SHA1 Message Date
Taiki Endo
95a159ca13 Test --help option if --version option is not available 2023-06-20 01:24:44 +09:00
Taiki Endo
4df72e2d1e Tweak error messages 2023-06-10 18:03:24 +09:00
Taiki Endo
2ef37fafbe Update scripts 2023-06-08 13:13:15 +09:00
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
Taiki Endo
962051977d Trim whitespace from tool names
Closes #115
2023-05-04 02:07:18 +09:00
Taiki Endo
93edea8666 Update shebang for bash scripts
In non-Linux systems such as BSDs, bash is not always in /bin.
2023-02-24 01:44:48 +09:00
Taiki Endo
15af814db4 Use cargo-binstall fallback also if tool is available but specified version not available 2023-02-11 04:08:40 +09:00
Taiki Endo
9e1de916ab Fix install failures in edge cases 2023-02-08 15:28:23 +09:00
Taiki Endo
e1d5d01924 Pass --no-cache to apk even in CI 2023-02-07 22:16:25 +09:00
Taiki Endo
ad8540ac77 Use cargo-binstall batching mode (#54) 2023-01-16 19:56:58 +09:00
Taiki Endo
b95ae1b223 Set CARGO_NET_RETRY and RUSTUP_MAX_RETRIES 2023-01-16 19:45:56 +09:00
Taiki Endo
4b8b61e298 Fix info message 2023-01-15 21:38:36 +09:00
Taiki Endo
f6e4dc6296 Improve retry on download failure 2023-01-15 19:55:57 +09:00
Taiki Endo
3b58ab42ed Tweak main.sh 2023-01-15 18:38:19 +09:00
Taiki Endo
5fc2b23470 Tweak main.sh 2023-01-14 00:02:02 +09:00
Taiki Endo
2411265c71 Tweak output 2023-01-12 23:13:17 +09:00
Taiki Endo
0feb352bd8 Update comments 2023-01-12 23:13:02 +09:00
Taiki Endo
d2ab9b9652 Improve warning if tool is not specified
Suggested in https://github.com/taiki-e/install-action/issues/43#issuecomment-1372352184.
2023-01-06 00:52:11 +09:00
Taiki Endo
ad09286c82 Emit warning if tool is not specified
If you encounter this warning, it may be due to a dependabot bug that
handles `@<tool>` shorthand in wrong way.

Previously, the handling of this case was platform-dependent and may or
may not have resulted in an error.
2023-01-06 00:12:24 +09:00
Taiki Endo
7c559dacbd Minor cleanup 2022-12-27 03:04:33 +09:00
Taiki Endo
78c2a52f65 Fix cargo-binstall version check 2022-12-27 02:51:33 +09:00
Taiki Endo
12505bef68 Make omitted version just reference to corresponding version 2022-12-27 01:18:59 +09:00
Taiki Endo
2be5cc5346 Use templates for tools that have consistent pattern in all releases 2022-12-27 00:21:55 +09:00
Taiki Endo
069858bff7 Support nextest on linux-gnu with very old glibc 2022-12-26 23:11:48 +09:00
Taiki Endo
446ad8aeef Tweak version check 2022-12-25 00:33:00 +09:00
Taiki Endo
2d0701aa58 Reject pre-release and build-metadata for now
We dropped support in v2. Please submit an issue if you need these
supports again.
2022-12-25 00:03:44 +09:00
Taiki Endo
f1683d2c7c Manage package info as JSON 2022-12-24 21:53:18 +09:00
Taiki Endo
acc0c0687d Update wasmtime@latest to 4.0.0 2022-12-22 11:21:14 +09:00
Taiki Endo
936bda0c55 Update mdbook@latest to 0.4.25 2022-12-18 01:23:18 +09:00
Taiki Endo
320900e2b1 Update mdbook@latest to 0.4.24 2022-12-16 00:51:55 +09:00
Taiki Endo
c4112353fe Update cargo-llvm-cov@latest to 0.5.3 2022-12-15 21:03:09 +09:00
Taiki Endo
d14576d5ee Support mdbook on linux-musl 2022-12-15 20:39:00 +09:00
Taiki Endo
54f239fc7f Update comments on GitHub Actions Runner 2022-12-15 20:23:58 +09:00
Taiki Endo
0c60ab7876 Update mdbook@latest to 0.4.23 2022-12-15 20:23:24 +09:00
Taiki Endo
a68686a8a2 Support aarch64 host more 2022-12-15 01:48:50 +09:00
Taiki Endo
c5a36f2fba Support aarch64 self-hosted runners 2022-12-15 00:16:20 +09:00
Taiki Endo
5e3287fe00 Update protoc@latest to 3.21.12 2022-12-14 23:49:33 +09:00
Taiki Endo
807aa14713 Do not install dnf on CentOS 7 2022-12-14 23:46:06 +09:00
Taiki Endo
1ab447b34f Improve support for Fedora/RHEL based containers/self-hosted runners 2022-12-14 22:40:45 +09:00
Taiki Endo
c3ee7d751f Add comment 2022-12-14 11:29:57 +09:00
Taiki Endo
ff96887f37 Install packages required for installation if not installed 2022-12-14 11:24:22 +09:00
Taiki Endo
97334a704a Remove needless host_triple call 2022-12-14 10:54:03 +09:00
Taiki Endo
83639e6b24 rustc-independent musl detection, take 2 2022-12-14 10:47:48 +09:00
Taiki Endo
8bc4e50568 Compact case statement in install_cargo_binstall 2022-12-14 10:42:47 +09:00
Jiahao XU
1fa8737224 Bump cargo-binstall to v0.18.1 (#32) 2022-12-14 10:26:38 +09:00
Taiki Endo
ee26d44cfa Update shellcheck@latest to 0.9.0 2022-12-13 20:52:26 +09:00
Taiki Endo
f80dd34cc7 Update cargo-binstall@latest to 0.18.0 2022-12-12 23:26:16 +09:00
Taiki Endo
a252073294 Support installing cargo-binstall on custom linux targets 2022-12-12 23:26:02 +09:00
Taiki Endo
f4a1ca475e Update shfmt@latest to 3.6.0 2022-12-12 23:19:44 +09:00
Taiki Endo
d33a0a9074 Test ubuntu and debian containers in CI 2022-12-11 16:22:13 +09:00