Compare commits

...

6 Commits

Author SHA1 Message Date
Taiki Endo
fd0f63e180 Release 2.70.1 2026-03-29 08:34:38 +00:00
Taiki Endo
7487d4091f Update cargo-insta@latest to 1.47.1 2026-03-29 06:46:40 +00:00
Taiki Endo
ea3bdd400e Update cargo-binstall@latest to 1.17.9 2026-03-29 06:46:40 +00:00
Taiki Endo
7d31177690 ci: Test ubuntu 26.04 container 2026-03-29 12:55:04 +09:00
Taiki Endo
b933e429e1 Update tombi@latest to 0.9.10 2026-03-28 21:25:56 +00:00
Taiki Endo
3eeb0f944d tools: Update tidy.sh 2026-03-29 02:56:38 +09:00
6 changed files with 85 additions and 30 deletions

View File

@@ -215,6 +215,7 @@ jobs:
- ubuntu:20.04 # glibc 2.31 - ubuntu:20.04 # glibc 2.31
- ubuntu:22.04 # glibc 2.35 - ubuntu:22.04 # glibc 2.35
- ubuntu:24.04 # glibc 2.39 - ubuntu:24.04 # glibc 2.39
- ubuntu:26.04 # glibc 2.42
- debian:9-slim # glibc 2.24 - debian:9-slim # glibc 2.24
- debian:10-slim # glibc 2.28 - debian:10-slim # glibc 2.28
- debian:11-slim # glibc 2.31 - debian:11-slim # glibc 2.31

View File

@@ -10,6 +10,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased] ## [Unreleased]
## [2.70.1] - 2026-03-29
- Update `cargo-insta@latest` to 1.47.1.
- Update `cargo-binstall@latest` to 1.17.9.
- Update `tombi@latest` to 0.9.10.
## [2.70.0] - 2026-03-28 ## [2.70.0] - 2026-03-28
- Install `uv`, `uvw` (Windows-only), and `uvx` binaries when installing `uv`. Previously, only `uv` binary was installed. ([#1632](https://github.com/taiki-e/install-action/pull/1632)) - Install `uv`, `uvw` (Windows-only), and `uvx` binaries when installing `uv`. Previously, only `uv` binary was installed. ([#1632](https://github.com/taiki-e/install-action/pull/1632))
@@ -6057,7 +6065,8 @@ Note: This release is considered a breaking change because installing on version
Initial release Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.70.0...HEAD [Unreleased]: https://github.com/taiki-e/install-action/compare/v2.70.1...HEAD
[2.70.1]: https://github.com/taiki-e/install-action/compare/v2.70.0...v2.70.1
[2.70.0]: https://github.com/taiki-e/install-action/compare/v2.69.14...v2.70.0 [2.70.0]: https://github.com/taiki-e/install-action/compare/v2.69.14...v2.70.0
[2.69.14]: https://github.com/taiki-e/install-action/compare/v2.69.13...v2.69.14 [2.69.14]: https://github.com/taiki-e/install-action/compare/v2.69.13...v2.69.14
[2.69.13]: https://github.com/taiki-e/install-action/compare/v2.69.12...v2.69.13 [2.69.13]: https://github.com/taiki-e/install-action/compare/v2.69.12...v2.69.13

View File

@@ -22,32 +22,32 @@
}, },
"license_markdown": "[GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE)", "license_markdown": "[GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE)",
"latest": { "latest": {
"version": "1.17.8" "version": "1.17.9"
}, },
"1.17.8": { "1.17.9": {
"x86_64_linux_musl": { "x86_64_linux_musl": {
"etag": "0x8DE8715DB8A1417", "etag": "0x8DE8D54CBD7C8ED",
"hash": "1da1ef72448db667cc4ae6d48e37451087602c8c07dc61782a4a5e538303e015" "hash": "bdea3fd820b118576316bf69c8240f454857287717809e6ecef010faace901ff"
}, },
"x86_64_macos": { "x86_64_macos": {
"etag": "0x8DE8715E03D9720", "etag": "0x8DE8D54D0C7EA49",
"hash": "db353e01b582c97382178db9b4dfe22d81109782e480a38f3db953e62f569952" "hash": "1d4fbd74c15274a029dd92e19a0ead8e1831b6e6b60f0f5c3690ef517022c41c"
}, },
"x86_64_windows": { "x86_64_windows": {
"etag": "0x8DE8715DEAA171B", "etag": "0x8DE8D54CF270B9E",
"hash": "fef07560d4e391812091bb30c6ed1bd5289f74403a0c947b47b8a8c7a597b51b" "hash": "d17b413a19592af2cf57f9f742d49bef8837099e1407d73e79de5bc7834c4fd6"
}, },
"aarch64_linux_musl": { "aarch64_linux_musl": {
"etag": "0x8DE8715E6784BD0", "etag": "0x8DE8D54D9B48785",
"hash": "81d6245bd1a7a89e914d29af81d82280540e94927e61492a0fc359820cd97abb" "hash": "89df253cc00a307209daee7648272bba4d8a342fce084d5922f6b3f4e4db0e25"
}, },
"aarch64_macos": { "aarch64_macos": {
"etag": "0x8DE8715EBEC4A3F", "etag": "0x8DE8D54DF4E885F",
"hash": "af87346fdb186f0a2333bc0a30cfddd6faa98b31145ef1bb19c284aedea65972" "hash": "021d537caa2071bbcd8ec50b210ea45af68a6983cca7780918b3603ef68d2585"
}, },
"aarch64_windows": { "aarch64_windows": {
"etag": "0x8DE8715EA179DDA", "etag": "0x8DE8D54DD746155",
"hash": "2270a5a7a8b3e85bd5fe32ac3fbd48cfd32d6f468a8c35499af8b65b806d271d" "hash": "37295aa1c3aed07bda2b757f613477c8ca2de1208ec360c7d00238b6886de780"
} }
} }
} }

View File

@@ -20,13 +20,31 @@
}, },
"license_markdown": "[Apache-2.0](https://github.com/mitsuhiko/insta/blob/master/LICENSE)", "license_markdown": "[Apache-2.0](https://github.com/mitsuhiko/insta/blob/master/LICENSE)",
"latest": { "latest": {
"version": "1.47.0" "version": "1.47.1"
}, },
"1": { "1": {
"version": "1.47.0" "version": "1.47.1"
}, },
"1.47": { "1.47": {
"version": "1.47.0" "version": "1.47.1"
},
"1.47.1": {
"x86_64_linux_musl": {
"etag": "0x8DE8D549F25E618",
"hash": "b5c162d25f477f0a7989edc5b82297a63c69d764c3c6f2839f12a546a00c188a"
},
"x86_64_macos": {
"etag": "0x8DE8D549EDE5832",
"hash": "3197c099ca857e36211b7b10d383404f305e036181ca2cb42495c8d08e4dcc86"
},
"x86_64_windows": {
"etag": "0x8DE8D549EF37620",
"hash": "7d6cad4a8768abc2bda8f0ea244f51ae077d426e6e7bc6561503876b4eba18e8"
},
"aarch64_macos": {
"etag": "0x8DE8D549ED08513",
"hash": "b92971f37be1e22401de1187ee842a7e15f936838bdce06fb9d3582dd538efa7"
}
}, },
"1.47.0": { "1.47.0": {
"x86_64_linux_musl": { "x86_64_linux_musl": {

30
manifests/tombi.json generated
View File

@@ -22,10 +22,36 @@
}, },
"license_markdown": "[MIT](https://github.com/tombi-toml/tombi/blob/main/LICENSE)", "license_markdown": "[MIT](https://github.com/tombi-toml/tombi/blob/main/LICENSE)",
"latest": { "latest": {
"version": "0.9.9" "version": "0.9.10"
}, },
"0.9": { "0.9": {
"version": "0.9.9" "version": "0.9.10"
},
"0.9.10": {
"x86_64_linux_musl": {
"etag": "0x8DE8CEDFE4FEBC7",
"hash": "eddad889a7194e6b993015475ccd6303edb06f076b632b3a1b134936e280b103"
},
"x86_64_macos": {
"etag": "0x8DE8CEDFECFAF7A",
"hash": "8421af429bec96ec09b621267d3ad505d202dc1ac8e3e5f2677dca0efa348395"
},
"x86_64_windows": {
"etag": "0x8DE8CEDFE5E3394",
"hash": "f6a722ef9f1a5d3656338cf45f88a35aebd29d6bf045b1dd2e91d0dcb356a92e"
},
"aarch64_linux_musl": {
"etag": "0x8DE8CEDFE539126",
"hash": "5373de8f10af1e626bbedc2beb46fbc7dd8bb3ccd73517b45108e165469e69e6"
},
"aarch64_macos": {
"etag": "0x8DE8CEDFE6E9BDE",
"hash": "1c7fcccf0c14d4c3189cfc405357f524b8db0ac7278bee434212f6c113070eb4"
},
"aarch64_windows": {
"etag": "0x8DE8CEDFED8CCF3",
"hash": "e3a5ce5bb2f4071974250b27dd8cc9df76c1feaa1be7c5a7e814191d9999311f"
}
}, },
"0.9.9": { "0.9.9": {
"x86_64_linux_musl": { "x86_64_linux_musl": {

View File

@@ -7,13 +7,13 @@ trap -- 'printf >&2 "%s\n" "${0##*/}: trapped SIGINT"; exit 1' SIGINT
cd -- "$(dirname -- "$0")"/.. cd -- "$(dirname -- "$0")"/..
# USAGE: # USAGE:
# GH_TOKEN=$(gh auth token) ./tools/tidy.sh # GITHUB_TOKEN=$(gh auth token) ./tools/tidy.sh
# #
# Note: This script requires the following tools: # Note: This script requires the following tools:
# - git 1.8+ # - git 1.8+
# - jq 1.6+ # - jq 1.6+
# - npm (node 18+) # - npm (node 18+)
# - python 3.6+, pipx # - python 3.6+, uv
# - shfmt # - shfmt
# - shellcheck # - shellcheck
# - zizmor # - zizmor
@@ -136,8 +136,8 @@ py_suffix=''
if type -P python3 >/dev/null; then if type -P python3 >/dev/null; then
py_suffix=3 py_suffix=3
fi fi
yq() { pipx run yq "$@"; } yq() { uvx yq "$@"; }
tomlq() { pipx run --spec yq tomlq "$@"; } tomlq() { uvx --from yq tomlq "$@"; }
case "$(uname -s)" in case "$(uname -s)" in
Linux) Linux)
if [[ "$(uname -o)" == 'Android' ]]; then if [[ "$(uname -o)" == 'Android' ]]; then
@@ -190,8 +190,8 @@ case "$(uname -s)" in
else else
jq() { command jq "$@" | tr -d '\r'; } jq() { command jq "$@" | tr -d '\r'; }
fi fi
yq() { pipx run yq "$@" | tr -d '\r'; } yq() { uvx yq "$@" | tr -d '\r'; }
tomlq() { pipx run --spec yq tomlq "$@" | tr -d '\r'; } tomlq() { uvx --from yq tomlq "$@" | tr -d '\r'; }
fi fi
fi fi
;; ;;
@@ -248,7 +248,7 @@ if [[ ${#rust_files[@]} -gt 0 ]]; then
info "checking Rust code style" info "checking Rust code style"
check_config .rustfmt.toml "; consider adding with reference to https://github.com/taiki-e/cargo-hack/blob/HEAD/.rustfmt.toml" check_config .rustfmt.toml "; consider adding with reference to https://github.com/taiki-e/cargo-hack/blob/HEAD/.rustfmt.toml"
check_config .clippy.toml "; consider adding with reference to https://github.com/taiki-e/cargo-hack/blob/HEAD/.clippy.toml" check_config .clippy.toml "; consider adding with reference to https://github.com/taiki-e/cargo-hack/blob/HEAD/.clippy.toml"
if check_install cargo jq pipx; then if check_install cargo jq uv; then
# `cargo fmt` cannot recognize files not included in the current workspace and modules # `cargo fmt` cannot recognize files not included in the current workspace and modules
# defined inside macros, so run rustfmt directly. # defined inside macros, so run rustfmt directly.
# We need to use nightly rustfmt because we use the unstable formatting options of rustfmt. # We need to use nightly rustfmt because we use the unstable formatting options of rustfmt.
@@ -833,7 +833,7 @@ elif check_install shellcheck; then
# Exclude SC2096 due to the way the temporary script is created. # Exclude SC2096 due to the way the temporary script is created.
shellcheck_exclude=SC2086,SC2096,SC2129 shellcheck_exclude=SC2086,SC2096,SC2129
info "running \`shellcheck --exclude ${shellcheck_exclude}\` for scripts in .github/workflows/*.yml and **/action.yml" info "running \`shellcheck --exclude ${shellcheck_exclude}\` for scripts in .github/workflows/*.yml and **/action.yml"
if check_install jq python3 pipx; then if check_install jq python3 uv; then
shellcheck_for_gha() { shellcheck_for_gha() {
local text=$1 local text=$1
local shell=$2 local shell=$2
@@ -988,7 +988,8 @@ if [[ ${#zizmor_targets[@]} -gt 0 ]]; then
if [[ "${ostype}" =~ ^(netbsd|openbsd|dragonfly|illumos|solaris)$ ]] && [[ -n "${CI:-}" ]] && ! type -P zizmor >/dev/null; then if [[ "${ostype}" =~ ^(netbsd|openbsd|dragonfly|illumos|solaris)$ ]] && [[ -n "${CI:-}" ]] && ! type -P zizmor >/dev/null; then
warn "this check is skipped on NetBSD/OpenBSD/Dragonfly/illumos/Solaris due to installing zizmor is hard on these platform" warn "this check is skipped on NetBSD/OpenBSD/Dragonfly/illumos/Solaris due to installing zizmor is hard on these platform"
elif check_install zizmor; then elif check_install zizmor; then
# zizmor can also be used via pipx, but old version will be installed if glibc version is old. # zizmor can also be used via uvx, but old version will be installed if glibc version is old.
# Do not use `zizmor -q .` here because it also attempts to check submodules.
IFS=' ' IFS=' '
info "running \`zizmor -q ${zizmor_targets[*]}\`" info "running \`zizmor -q ${zizmor_targets[*]}\`"
IFS=$'\n\t' IFS=$'\n\t'
@@ -1045,7 +1046,7 @@ fi
if [[ -f .cspell.json ]]; then if [[ -f .cspell.json ]]; then
info "spell checking" info "spell checking"
project_dictionary=.github/.cspell/project-dictionary.txt project_dictionary=.github/.cspell/project-dictionary.txt
if check_install npm jq pipx; then if check_install npm jq uv; then
has_rust='' has_rust=''
if [[ -n "$(ls_files '*Cargo.toml')" ]]; then if [[ -n "$(ls_files '*Cargo.toml')" ]]; then
has_rust=1 has_rust=1