Compare commits

...

10 Commits

Author SHA1 Message Date
Taiki Endo
a440def657 typos 2026-05-15 02:15:17 +00:00
Taiki Endo
184183c240 Release 2.78.1 2026-05-15 02:15:16 +00:00
Taiki Endo
b1b1cbb6bf Always use IFS= for read 2026-05-15 10:56:59 +09:00
Taiki Endo
8b48705aa3 Improve error/warning for unsupported cases
Closes #1827
2026-05-15 10:55:54 +09:00
Taiki Endo
6fce9480bd Update zizmor manifest 2026-05-14 21:49:01 +00:00
Taiki Endo
ebad682ab8 Update mise manifest 2026-05-14 21:49:01 +00:00
Taiki Endo
85af572b4f Update cargo-nextest manifest 2026-05-14 21:49:01 +00:00
Taiki Endo
0186a4ad05 Update mise@latest to 2026.5.7 2026-05-14 18:59:05 +00:00
Taiki Endo
5cd89bdf3f Update cargo-nextest manifest 2026-05-14 18:59:05 +00:00
Taiki Endo
d7c428cc25 Update cyclonedx manifest 2026-05-14 16:21:53 +00:00
7 changed files with 163 additions and 12 deletions

View File

@@ -10,6 +10,12 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.78.1] - 2026-05-15
- Update `mise@latest` to 2026.5.7.
- Diagnostic improvements.
## [2.78.0] - 2026-05-14
- Support `cargo-mutants`. ([#1812](https://github.com/taiki-e/install-action/pull/1812), thanks @jakewimmer)
@@ -6540,7 +6546,8 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.78.0...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.78.1...HEAD
[2.78.1]: https://github.com/taiki-e/install-action/compare/v2.78.0...v2.78.1
[2.78.0]: https://github.com/taiki-e/install-action/compare/v2.77.7...v2.78.0
[2.77.7]: https://github.com/taiki-e/install-action/compare/v2.77.6...v2.77.7
[2.77.6]: https://github.com/taiki-e/install-action/compare/v2.77.5...v2.77.6

View File

@@ -4,8 +4,8 @@ description: GitHub Action for installing development tools
inputs:
tool:
description: Tools to install (whitespace or comma separated list)
required: true
# default: #publish:tool
required: false
default: typos
checksum:
description: Whether to enable checksums (strongly discouraged to disable)
required: false

12
main.sh
View File

@@ -478,7 +478,7 @@ fi
tool="${INPUT_TOOL:-}"
tools=()
if [[ -n "${tool}" ]]; then
while read -rd,; do
while IFS= read -rd,; do
tools+=("${REPLY}")
done < <(normalize_comma_or_space_separated "${tool}")
fi
@@ -786,7 +786,7 @@ for tool in "${tools[@]}"; do
if [[ -n "${additional}" ]]; then
component=''
target=''
while read -rd+; do
while IFS= read -rd+; do
case "${REPLY}" in
# Last checked: nightly-2026-05-03
# rustup component list
@@ -979,9 +979,9 @@ for tool in "${tools[@]}"; do
read_manifest "${tool}" "${version}"
if [[ "${download_info}" == "null" ]]; then
if [[ "${rust_crate}" == "null" ]] || [[ "${fallback}" == "none" ]]; then
bail "${tool}@${version} for '${host_arch}_${host_os}' is not supported"
bail "${tool} is supported but version ${version} for '${host_arch}_${host_os}' is not supported (updating install-action might resolve this)"
fi
warn "${tool}@${version} for '${host_arch}_${host_os}' is not supported; fallback to ${fallback}"
warn "${tool} is supported but version ${version} for '${host_arch}_${host_os}' is not supported (updating install-action might resolve this); fallback to ${fallback}"
case "${version}" in
latest) unsupported_tools+=("${rust_crate}") ;;
*) unsupported_tools+=("${rust_crate}@${version}") ;;
@@ -1073,7 +1073,7 @@ done
if [[ ${#unsupported_tools[@]} -gt 0 ]]; then
IFS=','
case "${fallback}" in
none) bail "install-action does not support ${unsupported_tools[*]} (fallback is disabled by 'fallback: none' input option)" ;;
none) bail "install-action does not support ${unsupported_tools[*]} (updating install-action might resolve this); aborting because fallback is disabled by 'fallback: none' input option" ;;
cargo-binstall)
case "${host_arch}" in
x86_64 | aarch64 | riscv64) ;;
@@ -1084,7 +1084,7 @@ if [[ ${#unsupported_tools[@]} -gt 0 ]]; then
esac
;;
esac
info "install-action does not support ${unsupported_tools[*]}; fallback to ${fallback}"
info "install-action does not support ${unsupported_tools[*]} (updating install-action might resolve this); fallback to ${fallback}"
IFS=$'\n\t'
case "${fallback}" in
cargo-binstall)

View File

@@ -32,6 +32,76 @@
"0.9": {
"version": "0.9.133"
},
"0.9.135": {
"previous_stable_version": "0.9.134",
"x86_64_linux_gnu": {
"etag": "0x8DEB1F3CDBFBD91",
"hash": "547090eba95177d474ce7ec9d73d5d7d54363fd2bb180b7168aac1d72b2776de"
},
"x86_64_linux_musl": {
"etag": "0x8DEB1F365575FAB",
"hash": "c485608adb7ed4a81abdbe432b7fe47d053fca45d645d1786f4e97aa8344cdc1"
},
"x86_64_macos": {
"etag": "0x8DEB1F3416FF485",
"hash": "63d5ff2cffabe7fc9b4ee5ab7e7569cf52203a95060eeca987bdadf844e20a6e"
},
"x86_64_windows": {
"etag": "0x8DEB1F3F01F0DC7",
"hash": "db1d77573f0d4d2fe0927e3b044196cf0c69c19aa41c57b4637d6dca47f93420"
},
"aarch64_linux_gnu": {
"etag": "0x8DEB1F33352DBFA",
"hash": "3cbe45dcea1a11e4134a50b5d32827db942bc070c96d6eb8b97b84a88dccba62"
},
"aarch64_linux_musl": {
"etag": "0x8DEB1F33F808BEC",
"hash": "1bd819f4a3d4bef2479d128b161718c1097818e42353dec656d176bd0b0f971d"
},
"aarch64_windows": {
"etag": "0x8DEB1F42AE18A55",
"hash": "d710fd72305af5ec235e3a588af46c9781200d92139c19ded1f293630252efb2"
},
"riscv64_linux_gnu": {
"etag": "0x8DEB1F3E113245E",
"hash": "623e4640572a4de6a7e4009704673ca83f1f4b1ccc73ce6f3cf006c9da4273b1"
}
},
"0.9.134": {
"previous_stable_version": "0.9.133",
"x86_64_linux_gnu": {
"etag": "0x8DEB1E36F11ED7F",
"hash": "3b4f60a5da132c1ccfe69377870dad227b3a05195cf8c147b1d3ce59a4f55a35"
},
"x86_64_linux_musl": {
"etag": "0x8DEB1E224755F1E",
"hash": "6a7ef4ba6aaa6b11229d610bf0dcfeacf49e5394b0dafdc9d22989d0588b88f6"
},
"x86_64_macos": {
"etag": "0x8DEB1E23A6E0814",
"hash": "42e692d0f1976da9adefe28a6d9608b0d9e19f4c8043a71bef878a2e19f456ec"
},
"x86_64_windows": {
"etag": "0x8DEB1E33C04E37A",
"hash": "3eddef2e68b4cc4c40c9146f2a0b9b93f77364c5d89024c87502fdf4f53083ea"
},
"aarch64_linux_gnu": {
"etag": "0x8DEB1E36DA48F73",
"hash": "1de6c57858c71d0e7d455e41e5d38b4ff21c6c7fad066162cca04ea389980727"
},
"aarch64_linux_musl": {
"etag": "0x8DEB1E28562F471",
"hash": "ee68356006f7671e03ea62a13ada82fb00b064a9c0979f56797e8c994949ef41"
},
"aarch64_windows": {
"etag": "0x8DEB1E3BD39E9E6",
"hash": "511b2e114cd39695d0f49f6cc9a1117803e69599dede78254298a8fbd66362a6"
},
"riscv64_linux_gnu": {
"etag": "0x8DEB1E1BC46DD67",
"hash": "6d8b199bdd9dead86957970225e53a681424a10d8d14f1ec58afdfac8d1c2ce6"
}
},
"0.9.133": {
"previous_stable_version": "0.9.132",
"x86_64_linux_gnu": {

View File

@@ -23,6 +23,32 @@
"latest": {
"version": "0.31.0"
},
"0.32.0": {
"x86_64_linux_gnu": {
"etag": "0x8DEB1C0D0F942CE",
"hash": "454879e6a4a405c8a13bff49b8982adcb0596f3019b26b0811c66e4d7f0783e1"
},
"x86_64_macos": {
"etag": "0x8DEB1C0E6600350",
"hash": "a13a5de12d10cfccf8f222614b99af243fee5491b0ec73850b1d6fa050d4ad4a"
},
"x86_64_windows": {
"etag": "0x8DEB1C0DDE8B2F2",
"hash": "b1c00dbb40e628ec8c1252771871341ac4d4aaf032f832d83bd22cb2b1d258ae"
},
"aarch64_linux_gnu": {
"etag": "0x8DEB1C0D8F3B26A",
"hash": "abf0b7c5648a5b127791d691cad41f004aceea27c75bb42c9572fdc9694770cf"
},
"aarch64_macos": {
"etag": "0x8DEB1C106F3BE09",
"hash": "83be8a9599f1dce1252208bd4d0bb15308eca0546814fb72b48b7246d35e832e"
},
"aarch64_windows": {
"etag": "0x8DEB1C0E3DAA66B",
"hash": "88a8f99667909da3b69b74ab0368082305d52595d1dfc694114e29b4d9139d20"
}
},
"0.31": {
"version": "0.31.0"
},

32
manifests/mise.json generated
View File

@@ -27,13 +27,39 @@
}
},
"latest": {
"version": "2026.5.6"
"version": "2026.5.7"
},
"2026": {
"version": "2026.5.6"
"version": "2026.5.7"
},
"2026.5": {
"version": "2026.5.6"
"version": "2026.5.7"
},
"2026.5.8": {
"x86_64_linux_musl": {
"etag": "0x8DEB1FDEEFE723C",
"hash": "4bfcd3a5c513bfa6036d8d7cad3cfb6989155d913d39333ab493d1988bc93e62"
},
"x86_64_macos": {
"etag": "0x8DEB1FDF1C91467",
"hash": "05e72a6f57017a3edbde784720e7d11ff79ac9b48ad4aa8f4ca2b1dcc638da1b"
},
"x86_64_windows": {
"etag": "0x8DEB1FDF35DCBAC",
"hash": "1e58abd24ac23aa09c6d9ed35762ce27c1abd1c0739397a1a2cd9c0f56f9bff9"
},
"aarch64_linux_musl": {
"etag": "0x8DEB1FDEAF53C58",
"hash": "80036a854f6e4b0d96ca86cea6b72355b618516441728f067c6b3a4d79103c47"
},
"aarch64_macos": {
"etag": "0x8DEB1FDF0EB1FB4",
"hash": "7f9733967c152753a4dd5c99a90b5632c4efdfd157ed534d5b3c78d9d43cf9a6"
},
"aarch64_windows": {
"etag": "0x8DEB1FDF2E0C3E4",
"hash": "e174c7a09b8f61c3758162e8a1b13b1529d41eb8927b53bb10de8bea7168cfa1"
}
},
"2026.5.7": {
"x86_64_linux_musl": {

22
manifests/zizmor.json generated
View File

@@ -23,6 +23,28 @@
"1": {
"version": "1.24.1"
},
"1.25.0": {
"x86_64_linux_gnu": {
"etag": "0x8DEB1FA8CE475E0",
"hash": "a16853f39c9e059aed04f3f7961acb75468af67b235ae36a9faff337d61e3d24"
},
"x86_64_macos": {
"etag": "0x8DEB1FA8CF0019E",
"hash": "3c4b4faeb40779cbb0063eb934809c03a570dd367892c2b41a1e87e27721da01"
},
"x86_64_windows": {
"etag": "0x8DEB1FA8CE317D7",
"hash": "63620198d7c1292fdcc3500abfc7b72f706c99807c5f76e96ac127f1d62254d3"
},
"aarch64_linux_gnu": {
"etag": "0x8DEB1FA8CE8B6DF",
"hash": "6214a8e291a07a3b33c652260ee5caa6501e192cf20ff3a06db7a350e93bad93"
},
"aarch64_macos": {
"etag": "0x8DEB1FA8CE64898",
"hash": "d57861fd237055b2730e6a008289ffd8e8107e7d348ca31564d25863b7c66e64"
}
},
"1.24": {
"version": "1.24.1"
},