Compare commits

...

13 Commits

Author SHA1 Message Date
Taiki Endo
99774fec7f Release 2.32.17 2024-04-13 21:34:01 +09:00
Taiki Endo
c009cf7230 Simplify *_install helpers 2024-04-13 21:29:09 +09:00
Taiki Endo
4c0366722b Update cargo-tarpaulin@latest to 0.28.0 2024-04-13 21:12:48 +09:00
Taiki Endo
d22fec80bb Release 2.32.16 2024-04-13 10:08:35 +09:00
Taiki Endo
d68eb5a251 Update typos@latest to 1.20.8 2024-04-13 09:24:30 +09:00
Taiki Endo
4c45689087 Update syft@latest to 1.2.0 2024-04-13 09:24:30 +09:00
Taiki Endo
dd9c3a3091 Release 2.32.15 2024-04-12 21:16:14 +09:00
Taiki Endo
9fde11a221 Update cargo-deny@latest to 0.14.21 2024-04-12 21:11:58 +09:00
Taiki Endo
f8a64c9409 Release 2.32.14 2024-04-12 09:18:22 +09:00
Taiki Endo
d89c4e645c Update wasmtime manifest 2024-04-12 09:10:07 +09:00
Taiki Endo
944658582a Update wasmtime@latest to 19.0.2 2024-04-12 06:11:48 +09:00
Taiki Endo
b4dcdef61e Release 2.32.13 2024-04-12 00:16:16 +09:00
Taiki Endo
ac55832df9 Update cargo-dinghy@latest to 0.7.1 2024-04-12 00:12:38 +09:00
8 changed files with 649 additions and 1315 deletions

View File

@@ -10,6 +10,28 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.32.17] - 2024-04-13
- Update `cargo-tarpaulin@latest` to 0.28.0.
## [2.32.16] - 2024-04-13
- Update `typos@latest` to 1.20.8.
- Update `syft@latest` to 1.2.0.
## [2.32.15] - 2024-04-12
- Update `cargo-deny@latest` to 0.14.21.
## [2.32.14] - 2024-04-12
- Update `wasmtime@latest` to 19.0.2.
## [2.32.13] - 2024-04-11
- Update `cargo-dinghy@latest` to 0.7.1.
## [2.32.12] - 2024-04-11
- Update `git-cliff@latest` to 2.2.1.
@@ -2035,7 +2057,12 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.32.12...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.32.17...HEAD
[2.32.17]: https://github.com/taiki-e/install-action/compare/v2.32.16...v2.32.17
[2.32.16]: https://github.com/taiki-e/install-action/compare/v2.32.15...v2.32.16
[2.32.15]: https://github.com/taiki-e/install-action/compare/v2.32.14...v2.32.15
[2.32.14]: https://github.com/taiki-e/install-action/compare/v2.32.13...v2.32.14
[2.32.13]: https://github.com/taiki-e/install-action/compare/v2.32.12...v2.32.13
[2.32.12]: https://github.com/taiki-e/install-action/compare/v2.32.11...v2.32.12
[2.32.11]: https://github.com/taiki-e/install-action/compare/v2.32.10...v2.32.11
[2.32.10]: https://github.com/taiki-e/install-action/compare/v2.32.9...v2.32.10

37
main.sh
View File

@@ -31,6 +31,13 @@ warn() {
info() {
echo "info: $*"
}
_sudo() {
if type -P sudo &>/dev/null; then
sudo "$@"
else
"$@"
fi
}
download_and_checksum() {
local url="$1"
local checksum="$2"
@@ -289,36 +296,20 @@ install_cargo_binstall() {
fi
}
apt_update() {
if type -P sudo &>/dev/null; then
retry sudo apt-get -o Acquire::Retries=10 -qq update
else
retry apt-get -o Acquire::Retries=10 -qq update
fi
retry _sudo apt-get -o Acquire::Retries=10 -qq update
apt_updated=1
}
apt_install() {
if [[ -z "${apt_updated:-}" ]]; then
apt_update
fi
if type -P sudo &>/dev/null; then
retry sudo apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends "$@"
else
retry apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends "$@"
fi
retry _sudo apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends "$@"
}
apt_remove() {
if type -P sudo &>/dev/null; then
sudo apt-get -qq -o Dpkg::Use-Pty=0 remove -y "$@"
else
apt-get -qq -o Dpkg::Use-Pty=0 remove -y "$@"
fi
_sudo apt-get -qq -o Dpkg::Use-Pty=0 remove -y "$@"
}
snap_install() {
if type -P sudo &>/dev/null; then
retry sudo snap install "$@"
else
retry snap install "$@"
fi
retry _sudo snap install "$@"
}
apk_install() {
if type -P sudo &>/dev/null; then
@@ -330,11 +321,7 @@ apk_install() {
fi
}
dnf_install() {
if type -P sudo &>/dev/null; then
retry sudo "${dnf}" install -y "$@"
else
retry "${dnf}" install -y "$@"
fi
retry _sudo "${dnf}" install -y "$@"
}
sys_install() {
case "${base_distro}" in

View File

@@ -19,10 +19,24 @@
}
},
"latest": {
"version": "0.14.20"
"version": "0.14.21"
},
"0.14": {
"version": "0.14.20"
"version": "0.14.21"
},
"0.14.21": {
"x86_64_linux_musl": {
"checksum": "a44734086a42d7b93715da545c2423684718d89d4855cd776384444a366813fd"
},
"x86_64_macos": {
"checksum": "9bf07f9348aee79a0ed18caa399e12eb91f5397333b5b46ecd8f966bc1c657d5"
},
"x86_64_windows": {
"checksum": "231f24cfa8ef1e517b3dea37d90a5d8c4ad297276d4133852c1b2a8d084a1720"
},
"aarch64_macos": {
"checksum": "60cd49d30f5fbe63d7d20c4c2d90253f932cb4e9f9468d20a7bf152da959c3e4"
}
},
"0.14.20": {
"x86_64_linux_musl": {

View File

@@ -11,7 +11,18 @@
}
},
"latest": {
"version": "0.6.8"
"version": "0.7.1"
},
"0.7": {
"version": "0.7.1"
},
"0.7.1": {
"x86_64_linux_musl": {
"checksum": "1985095f34f016900d237efc5479be3154f6fd2d168109a4c6d774d77e9eb21f"
},
"x86_64_macos": {
"checksum": "30902c7a7834f773c56ac2bde6b58be983b13b3d4cd7077ec415ba4b06c4039b"
}
},
"0.7.0": {
"x86_64_linux_musl": {

View File

@@ -18,7 +18,27 @@
}
},
"latest": {
"version": "0.27.3"
"version": "0.28.0"
},
"0.28": {
"version": "0.28.0"
},
"0.28.0": {
"x86_64_linux_musl": {
"checksum": "c86810ef9638219f70db16e9e272584b1365c2edfb63fe0e03f7254954c0a717"
},
"x86_64_macos": {
"checksum": "6bc2f349c837042fc90b3841d9ff5e657c7f5d9ebb2a15a4ba70ab5040587bf7"
},
"x86_64_windows": {
"checksum": "6ae64d9ebb91fe26bd8e2cb61c0a3604c0aa53c080d99921cc95d05d31e866f9"
},
"aarch64_linux_musl": {
"checksum": "6c023e176798e78c81cc4ba15d66c5f4f4f21c8000e69d469075b5927a1a8644"
},
"aarch64_macos": {
"checksum": "b2fee8ce9cb93cab5b467459cf4b63dd80ea372dac36c98fccc35660dd454fd5"
}
},
"0.27": {
"version": "0.27.3"

24
manifests/syft.json generated
View File

@@ -23,10 +23,30 @@
}
},
"latest": {
"version": "1.1.1"
"version": "1.2.0"
},
"1": {
"version": "1.1.1"
"version": "1.2.0"
},
"1.2": {
"version": "1.2.0"
},
"1.2.0": {
"x86_64_linux_musl": {
"checksum": "f56d63f6be18b12b6aff1222f5c9bcfe739b7d167165ed784151bb38e6c49bb2"
},
"x86_64_macos": {
"checksum": "8be9524c6b91304bbdddd183ff884b1cbdd805ba0d228b587ad3566ea0e66171"
},
"x86_64_windows": {
"checksum": "aec5b0219d948be0c9489c30eda9f463d10d7bcc3edca7b5c3b0f6d76dbc0704"
},
"aarch64_linux_musl": {
"checksum": "5699156ca5e568dad326605e2cb8a24774cd87ab858ac8fc438b8028e13c9d89"
},
"aarch64_macos": {
"checksum": "efaf83c8af800cea03f78eed117dfc8c16bebc64e6bcb165e0287cdae195fd76"
}
},
"1.1": {
"version": "1.1.1"

20
manifests/typos.json generated
View File

@@ -15,13 +15,27 @@
}
},
"latest": {
"version": "1.20.7"
"version": "1.20.8"
},
"1": {
"version": "1.20.7"
"version": "1.20.8"
},
"1.20": {
"version": "1.20.7"
"version": "1.20.8"
},
"1.20.8": {
"x86_64_linux_musl": {
"checksum": "681a132089eae4d7c08b9bd9e0fb4bd40eb2418658130c91dcadaaa190cb0334"
},
"x86_64_macos": {
"checksum": "3f321104f7d5fe7f7d773d888ef0b235aad6c64889486b1d0858335c8f7075b7"
},
"x86_64_windows": {
"checksum": "bdd479b600d84b423b36811140b7617c6dd541df46e9d8729a837b5431351463"
},
"aarch64_macos": {
"checksum": "50b0c0392c0d49f4617daa30035d632c9dbe1c6ad0facca73395d7be50163b7e"
}
},
"1.20.7": {
"x86_64_linux_musl": {

1801
manifests/wasmtime.json generated

File diff suppressed because it is too large Load Diff