Compare commits

...

7 Commits

Author SHA1 Message Date
Taiki Endo
9903ab6fea Release 2.50.0 2025-04-22 03:59:55 +09:00
Taiki Endo
e0995cb36b Update changelog 2025-04-22 03:59:35 +09:00
Vivien Maisonneuve
b75a7ff44c Add taplo (#944) 2025-04-22 03:54:48 +09:00
Taiki Endo
78164bc822 Update wasmtime@latest to 32.0.0 2025-04-22 03:18:24 +09:00
Taiki Endo
21bdc2c67f Update release-plz@latest to 0.3.133 2025-04-19 09:32:50 +09:00
Taiki Endo
09dc018eee Release 2.49.50 2025-04-16 10:56:24 +09:00
Taiki Endo
2cd02413f6 Update grcov@latest to 0.9.1 2025-04-16 03:15:27 +09:00
8 changed files with 266 additions and 6 deletions

View File

@@ -10,6 +10,18 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.50.0] - 2025-04-21
- Support `taplo`. ([#944](https://github.com/taiki-e/install-action/pull/944), thanks @vivienm)
- Update `wasmtime@latest` to 32.0.0.
- Update `release-plz@latest` to 0.3.133.
## [2.49.50] - 2025-04-16
- Update `grcov@latest` to 0.9.1.
## [2.49.49] - 2025-04-13
- Update `release-plz@latest` to 0.3.132.
@@ -3810,7 +3822,9 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.49.49...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.50.0...HEAD
[2.50.0]: https://github.com/taiki-e/install-action/compare/v2.49.50...v2.50.0
[2.49.50]: https://github.com/taiki-e/install-action/compare/v2.49.49...v2.49.50
[2.49.49]: https://github.com/taiki-e/install-action/compare/v2.49.48...v2.49.49
[2.49.48]: https://github.com/taiki-e/install-action/compare/v2.49.47...v2.49.48
[2.49.47]: https://github.com/taiki-e/install-action/compare/v2.49.46...v2.49.47

View File

@@ -60,6 +60,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho
| [**shellcheck**](https://www.shellcheck.net) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/koalaman/shellcheck/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/koalaman/shellcheck/blob/master/LICENSE) |
| [**shfmt**](https://github.com/mvdan/sh) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/mvdan/sh/releases) | Linux, macOS, Windows | [BSD-3-Clause](https://github.com/mvdan/sh/blob/master/LICENSE) |
| [**syft**](https://github.com/anchore/syft) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/anchore/syft/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE) |
| [**taplo**](https://github.com/tamasfe/taplo) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/tamasfe/taplo/releases) | Linux, macOS, Windows | [MIT](https://github.com/tamasfe/taplo/blob/master/LICENSE) |
| [**trunk**](https://github.com/trunk-rs/trunk) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/trunk-rs/trunk/releases) | Linux, macOS, Windows | [MIT](https://github.com/trunk-rs/trunk/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/trunk-rs/trunk/blob/main/LICENSE-APACHE) |
| [**typos**](https://github.com/crate-ci/typos) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/crate-ci/typos/releases) | Linux, macOS, Windows | [MIT](https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE) |
| [**valgrind**](https://valgrind.org/) | `/snap/bin` | [snap](https://snapcraft.io/install/valgrind/ubuntu) | Linux | [GPL-2.0](https://sourceware.org/git/?p=valgrind.git;a=blob;f=COPYING;hb=HEAD) |

18
main.sh
View File

@@ -97,6 +97,17 @@ download_and_extract() {
esac
fi
;;
*.gz)
if ! type -P gzip >/dev/null; then
case "${base_distro}" in
debian | fedora | suse | arch | alpine)
printf '::group::Install packages required for installation (gzip)\n'
sys_install gzip
printf '::endgroup::\n'
;;
esac
fi
;;
*.tar.bz2 | *.tbz2)
tar_args+=('xjf')
if ! type -P bzip2 >/dev/null; then
@@ -163,6 +174,13 @@ download_and_extract() {
esac
done
;;
*.gz)
mv -- tmp "${bin_in_archive#\./}.gz"
gzip -d "${bin_in_archive#\./}.gz"
for tmp in "${bin_in_archive[@]}"; do
mv -- "${tmp}" "${bin_dir}/"
done
;;
*)
for tmp in "${installed_bin[@]}"; do
mv -- tmp "${tmp}"

26
manifests/grcov.json generated
View File

@@ -19,10 +19,32 @@
},
"license_markdown": "[MPL-2.0](https://github.com/mozilla/grcov/blob/HEAD/LICENSE-MPL-2.0)",
"latest": {
"version": "0.9.0"
"version": "0.9.1"
},
"0.9": {
"version": "0.9.0"
"version": "0.9.1"
},
"0.9.1": {
"x86_64_linux_musl": {
"etag": "0x8DD791AF48C21CF",
"checksum": "db92c0c1c461dc0ccb56d6129edec140f60467c4021e44943bd32e88534e4bbe"
},
"x86_64_macos": {
"etag": "0x8DD791AF38E4616",
"checksum": "9324b4349e346121d624976d35abf229715dede0b9687d78b70976594f65e0d6"
},
"x86_64_windows": {
"etag": "0x8DD791AF3E028A6",
"checksum": "7589e77e2a1ee399acb07872d6c4cd258938a4bbb933e9521e85e2e0e62f804f"
},
"aarch64_linux_musl": {
"etag": "0x8DD791AF33E3649",
"checksum": "21a14aca42f20ecd1f9f6a1a8c7b70c00459c159d8885eadedd3a662be2932ea"
},
"aarch64_macos": {
"etag": "0x8DD791AF239AB50",
"checksum": "c896c7773d91445f63f6cfb840c14b2ba49eeee75da534270d261ab9f01bb7e9"
}
},
"0.9.0": {
"x86_64_linux_musl": {

View File

@@ -22,10 +22,36 @@
},
"license_markdown": "[MIT](https://github.com/release-plz/release-plz/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/release-plz/release-plz/blob/main/LICENSE-APACHE)",
"latest": {
"version": "0.3.132"
"version": "0.3.133"
},
"0.3": {
"version": "0.3.132"
"version": "0.3.133"
},
"0.3.133": {
"x86_64_linux_musl": {
"etag": "0x8DD7ECBEB9E7D49",
"checksum": "d8afb03e9071868c60524c604b541e3bfbd44368f408d3ecf74369c01d4a6875"
},
"x86_64_macos": {
"etag": "0x8DD7ECC699C8848",
"checksum": "116c87c652ecbc9eba5c86fbf3ccae6e93f1aa1eb8afbe0e80d9261ba7644b13"
},
"x86_64_windows": {
"etag": "0x8DD7ECD3EB2646E",
"checksum": "fe77468f1102b8259f4e4c86863c0d822043808ed44b76ca4bafe740d083e246"
},
"aarch64_linux_musl": {
"etag": "0x8DD7ECC00EF77F2",
"checksum": "1c0c8791e470aec1e9f1455a3f916555add6865a6cf12a68be4f5caec77be6c1"
},
"aarch64_macos": {
"etag": "0x8DD7ECC7D149426",
"checksum": "bfecda128555cff5e29f9bc4b24c2f84670d92c9f114348db5f35ea26a1f0262"
},
"aarch64_windows": {
"etag": "0x8DD7ECC9EB82C70",
"checksum": "71ac012bbd214336ca6a010598c5ebfa393e420c3797c8b78b2c28c87b47518e"
}
},
"0.3.132": {
"x86_64_linux_musl": {

123
manifests/taplo.json generated Normal file
View File

@@ -0,0 +1,123 @@
{
"rust_crate": "taplo-cli",
"template": {
"x86_64_linux_gnu": {
"url": "https://github.com/tamasfe/taplo/releases/download/${version}/taplo-linux-x86_64.gz",
"bin": "taplo"
},
"x86_64_macos": {
"url": "https://github.com/tamasfe/taplo/releases/download/${version}/taplo-darwin-x86_64.gz",
"bin": "taplo"
},
"x86_64_windows": {
"url": "https://github.com/tamasfe/taplo/releases/download/${version}/taplo-windows-x86_64.zip",
"bin": "taplo.exe"
},
"aarch64_linux_gnu": {
"url": "https://github.com/tamasfe/taplo/releases/download/${version}/taplo-linux-aarch64.gz",
"bin": "taplo"
},
"aarch64_macos": {
"url": "https://github.com/tamasfe/taplo/releases/download/${version}/taplo-darwin-aarch64.gz",
"bin": "taplo"
}
},
"license_markdown": "[MIT](https://github.com/tamasfe/taplo/blob/master/LICENSE)",
"latest": {
"version": "0.9.3"
},
"0.9": {
"version": "0.9.3"
},
"0.9.3": {
"x86_64_linux_gnu": {
"etag": "0x8DCB153D820EFDD",
"checksum": "889efcfa067b179fda488427d3b13ce2d679537da8b9ed8138ba415db7da2a5e"
},
"x86_64_macos": {
"etag": "0x8DCB153D786BCC6",
"checksum": "6b4180fe0518e3e68b9a421dbe50f62ede308767972c4c70c6bbe6651ea98641"
},
"x86_64_windows": {
"etag": "0x8DCB153D75F63D4",
"checksum": "f87edcbd6853ad37d7b9e4d8ba336d282529fddf54912b01530e09c2872fdbbd"
},
"aarch64_linux_gnu": {
"etag": "0x8DCB153D7CD616F",
"checksum": "7c07379d3288fb5c26b1c29bbedec4f8d8f602d776bcc3a1578176733b6a857c"
},
"aarch64_macos": {
"etag": "0x8DCB153D76CC254",
"checksum": "39b84d62d6a47855b2c64148cde9c9ca5721bf422b8c9fe9c92776860badde5f"
}
},
"0.9.2": {
"x86_64_linux_gnu": {
"etag": "0x8DCA26384E2731C",
"checksum": "e9a6717cca87e51b6c75d8fba037bd1d015c71f0227d1933f890ec96bf07d00a"
},
"x86_64_macos": {
"etag": "0x8DCA263846CB65A",
"checksum": "1a80106e2efe9d4fd9276c855db4213742097247e50ced98fcb7e571a3ed9353"
},
"x86_64_windows": {
"etag": "0x8DCA26384337055",
"checksum": "1ed58e3a087a14a51ca8688380c3949ee3b285a4779535c2d6020bd98c385fb4"
},
"aarch64_linux_gnu": {
"etag": "0x8DCA26384AC100F",
"checksum": "f2b2964ce3a7e1d72cd52685eceb5e6b155275a79c80a6d9ebdd4f4e6a4586e3"
},
"aarch64_macos": {
"etag": "0x8DCA2638466F07F",
"checksum": "fc4a259eeca27354302710c8c3d87b96ebd645c989de128ab49a5eccdb09ed80"
}
},
"0.8": {
"version": "0.8.1"
},
"0.8.1": {
"x86_64_linux_gnu": {
"etag": "0x8DB817304E8B59E",
"checksum": "1edd58e05ca7c560b953c5023bd185939b3c65e83e2e1bb1d488bb66063ebad8"
},
"x86_64_macos": {
"etag": "0x8DB817304043904",
"checksum": "23a1ddc9517766eb7f00538eb65e2d491cfe3baa64e6d86a7dd953c07af4c11b"
},
"x86_64_windows": {
"etag": "0x8DB8173044A8FB7",
"checksum": "a3a4250d79ba6d354a0fe30f6aa3e6ecffd163dc234673d364419df2b083ab5b"
},
"aarch64_linux_gnu": {
"etag": "0x8DB817304339F22",
"checksum": "fbd6fb9b4726f12498d3c3cae6bbf37a50ae8dff471a7e8dd01f1f9b21389d9c"
},
"aarch64_macos": {
"etag": "0x8DB8173037323D1",
"checksum": "689413b4c8eb887e42fc1ded5cc42cd496176e01385d8250cdcd4c57d70b1b07"
}
},
"0.8.0": {
"x86_64_linux_gnu": {
"etag": "0x8DABB625C626C8D",
"checksum": "3703294fac37ca9a9f76308f9f98c3939ccb7588f8972acec68a48d7a10d8ee5"
},
"x86_64_macos": {
"etag": "0x8DABB625AF6DCCB",
"checksum": "a1917f1b9168cb4f7d579422dcdf9c733028d873963d8fa3a6f499e41719c502"
},
"x86_64_windows": {
"etag": "0x8DABB625AA2608C",
"checksum": "f2f2fc49659c30e4bf504c5b821db1cbf4bcf2fd7196e9f559a6cb0efab5af80"
},
"aarch64_linux_gnu": {
"etag": "0x8DABB625B843B06",
"checksum": "a6a94482f125c21090593f94cad23df099c4924f5b9620cda4a8653527c097a1"
},
"aarch64_macos": {
"etag": "0x8DABB625C7D91B3",
"checksum": "79c1691c3c46be981fa0cec930ec9a6d6c4ffd27272d37d1885514ce59bd8ccf"
}
}
}

View File

@@ -28,7 +28,39 @@
},
"license_markdown": "[Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE)",
"latest": {
"version": "31.0.0"
"version": "32.0.0"
},
"32": {
"version": "32.0.0"
},
"32.0": {
"version": "32.0.0"
},
"32.0.0": {
"x86_64_linux_gnu": {
"etag": "0x8DD80E91D777958",
"checksum": "7fb52c760724d5d5632ed225a189b7c159284d7b19350ce513212799c1900d82"
},
"x86_64_macos": {
"etag": "0x8DD80E91EA8FC45",
"checksum": "a1fd60e4bdb82c96dbee97ade26a15977c6b697398cd863a1d89457c415914fa"
},
"x86_64_windows": {
"etag": "0x8DD80E92327EEFD",
"checksum": "9e3a4a8afc8b15b2a897f00a89c6f9a83541a2b55d38692cbcdd9f49cd127613"
},
"aarch64_linux_gnu": {
"etag": "0x8DD80E90EC3CD85",
"checksum": "e5a605eb8c3c8da8f1215c69015adb6bfa15a69bb8c5f915e960126ad4282dde"
},
"aarch64_macos": {
"etag": "0x8DD80E90FD0DA7B",
"checksum": "682819fd67761c4833601692d4fea8aad08202a9ee33dbbf77cf269cc623978e"
},
"aarch64_windows": {
"etag": "0x8DD80E91257BACA",
"checksum": "e1001ac75032ea18675b59ccd83d33d380ec1a36b32b9b1b3b78166b41efec27"
}
},
"31": {
"version": "31.0.0"

View File

@@ -0,0 +1,24 @@
{
"repository": "https://github.com/tamasfe/taplo",
"tag_prefix": "",
"rust_crate": "${package}-cli",
"version_range": ">= 0.8.0",
"bin": "${package}${exe}",
"platform": {
"x86_64_linux_gnu": {
"asset_name": "${package}-linux-x86_64.gz"
},
"x86_64_macos": {
"asset_name": "${package}-darwin-x86_64.gz"
},
"x86_64_windows": {
"asset_name": "${package}-windows-x86_64.zip"
},
"aarch64_linux_gnu": {
"asset_name": "${package}-linux-aarch64.gz"
},
"aarch64_macos": {
"asset_name": "${package}-darwin-aarch64.gz"
}
}
}