Compare commits

...

15 Commits

Author SHA1 Message Date
Taiki Endo
47e2e5cbd7 Release 2.44.12 2024-09-28 16:25:13 +09:00
Taiki Endo
05718eba42 Update changelog 2024-09-28 16:22:12 +09:00
Taiki Endo
942f3ad679 Fix compatibility issue with Cygwin sh
```
D:\a\_temp\00683b68-582f-4719-bd7a-9e98dd7975b7.sh: line 1: set: -
: invalid option
set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
```
2024-09-28 16:20:03 +09:00
Taiki Endo
4a3cc43080 Release 2.44.11 2024-09-28 12:30:37 +09:00
Taiki Endo
c8b5e0ff44 ci: Add macos-15 2024-09-28 11:54:02 +09:00
Taiki Endo
596eade599 ci: Use taiki-e/github-actions/install-rust action
3d23ff7968
2024-09-28 11:53:39 +09:00
Taiki Endo
05260f07f3 Update git-cliff@latest to 2.6.1 2024-09-28 03:13:08 +09:00
Taiki Endo
cbe8580ec9 Release 2.44.10 2024-09-26 21:39:09 +09:00
Taiki Endo
fff8de5df4 Update cargo-machete@latest to 0.7.0 2024-09-26 21:16:32 +09:00
Taiki Endo
58a3efb22c Release 2.44.9 2024-09-26 01:21:46 +09:00
Taiki Endo
458a731083 Update wasmtime@latest to 25.0.1 2024-09-25 11:02:42 +09:00
Taiki Endo
9f6abfd69f Release 2.44.8 2024-09-25 04:08:26 +09:00
Taiki Endo
361676cd6c Update rclone@latest to 1.68.1 2024-09-25 03:17:11 +09:00
Taiki Endo
670719f0e8 Update syft@latest to 1.13.0 2024-09-25 00:14:12 +09:00
Taiki Endo
585c3a9867 Update cargo-zigbuild@latest to 0.19.3 2024-09-25 00:14:12 +09:00
10 changed files with 238 additions and 32 deletions

View File

@@ -52,6 +52,7 @@ jobs:
tool: major
- os: macos-13
- os: macos-14
- os: macos-15
- os: windows-2019
- os: windows-2019
bash: msys64
@@ -62,24 +63,30 @@ jobs:
bash: msys64
- os: windows-2022
bash: cygwin
- os: windows-2022
tool: major.minor.patch
- os: windows-2022
tool: major.minor
- os: windows-2022
tool: major
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- run: |
printf 'C:\msys64\mingw32\bin\n' >>"${GITHUB_PATH}"
printf 'C:\msys64\usr\bin\n' >>"${GITHUB_PATH}"
printf '%s\n' 'C:\msys64\mingw32\bin' >>"${GITHUB_PATH}"
printf '%s\n' 'C:\msys64\usr\bin' >>"${GITHUB_PATH}"
if: matrix.bash == 'msys64'
- run: |
choco install --no-progress --requirechecksums cygwin
printf 'C:\tools\cygwin\bin\n' >>"${GITHUB_PATH}"
printf 'C:\tools\cygwin\usr\bin\n' >>"${GITHUB_PATH}"
printf '%s\n' 'C:\tools\cygwin\bin' >>"${GITHUB_PATH}"
printf '%s\n' 'C:\tools\cygwin\usr\bin' >>"${GITHUB_PATH}"
if: matrix.bash == 'cygwin'
- uses: taiki-e/checkout-action@v1
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
- run: rm Cargo.toml
- name: Generate tool list
id: tool-list
run: tools/ci/tool-list.sh "${{ matrix.tool }}" >>"${GITHUB_OUTPUT}"
run: tools/ci/tool-list.sh "${{ matrix.tool }}" "${{ matrix.os }}" "${{ matrix.bash }}" >>"${GITHUB_OUTPUT}"
- run: env
- uses: ./
with:
@@ -201,8 +208,7 @@ jobs:
pull-requests: write # for gh pr review --approve
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
run: rustup update stable --no-self-update
- uses: taiki-e/github-actions/install-rust@stable
- name: Generate Cargo.lock
run: cargo update
- uses: Swatinem/rust-cache@v2

View File

@@ -10,6 +10,30 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.44.12] - 2024-09-28
- Fix compatibility issue with Cygwin `sh`. This fixes a regression introduced in 2.42.0.
## [2.44.11] - 2024-09-28
- Update `git-cliff@latest` to 2.6.1.
## [2.44.10] - 2024-09-26
- Update `cargo-machete@latest` to 0.7.0.
## [2.44.9] - 2024-09-25
- Update `wasmtime@latest` to 25.0.1.
## [2.44.8] - 2024-09-24
- Update `rclone@latest` to 1.68.1.
- Update `syft@latest` to 1.13.0.
- Update `cargo-zigbuild@latest` to 0.19.3.
## [2.44.7] - 2024-09-22
- Update `cargo-binstall@latest` to 1.10.6.
@@ -2768,7 +2792,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.44.7...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.44.12...HEAD
[2.44.12]: https://github.com/taiki-e/install-action/compare/v2.44.11...v2.44.12
[2.44.11]: https://github.com/taiki-e/install-action/compare/v2.44.10...v2.44.11
[2.44.10]: https://github.com/taiki-e/install-action/compare/v2.44.9...v2.44.10
[2.44.9]: https://github.com/taiki-e/install-action/compare/v2.44.8...v2.44.9
[2.44.8]: https://github.com/taiki-e/install-action/compare/v2.44.7...v2.44.8
[2.44.7]: https://github.com/taiki-e/install-action/compare/v2.44.6...v2.44.7
[2.44.6]: https://github.com/taiki-e/install-action/compare/v2.44.5...v2.44.6
[2.44.5]: https://github.com/taiki-e/install-action/compare/v2.44.4...v2.44.5

View File

@@ -46,3 +46,11 @@ runs:
INPUT_TOOL: ${{ inputs.tool }}
INPUT_CHECKSUM: ${{ inputs.checksum }}
INPUT_FALLBACK: ${{ inputs.fallback }}
if: runner.os != 'Windows'
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
shell: bash
env:
INPUT_TOOL: ${{ inputs.tool }}
INPUT_CHECKSUM: ${{ inputs.checksum }}
INPUT_FALLBACK: ${{ inputs.fallback }}
if: runner.os == 'Windows'

View File

@@ -3,7 +3,36 @@
"template": null,
"license_markdown": "[MIT](https://github.com/bnjbvr/cargo-machete/blob/main/LICENSE.md)",
"latest": {
"version": "0.6.2"
"version": "0.7.0"
},
"0.7": {
"version": "0.7.0"
},
"0.7.0": {
"x86_64_linux_musl": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.7.0/cargo-machete-v0.7.0-x86_64-unknown-linux-musl.tar.gz",
"etag": "0x8DCDE14D890E1AF",
"checksum": "473f663c7b47166fc4eb87f82716ba709b22cc62a52763585c529974b5aeb6e5",
"bin": "cargo-machete-v0.7.0-x86_64-unknown-linux-musl/cargo-machete"
},
"x86_64_macos": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.7.0/cargo-machete-v0.7.0-x86_64-apple-darwin.tar.gz",
"etag": "0x8DCDE14CF16B32E",
"checksum": "aa95f97a0bd2b36928b2b4495e7b9ddd197bab4d6510903e926c6ad7288272fd",
"bin": "cargo-machete-v0.7.0-x86_64-apple-darwin/cargo-machete"
},
"x86_64_windows": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.7.0/cargo-machete-v0.7.0-x86_64-pc-windows-msvc.tar.gz",
"etag": "0x8DCDE152AA824B0",
"checksum": "c50e388fbbaf484c140f3644fbc4c6f026dceebe49ffe8929477dd4ac149818c",
"bin": "cargo-machete-v0.7.0-x86_64-pc-windows-msvc/cargo-machete.exe"
},
"aarch64_macos": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.7.0/cargo-machete-v0.7.0-aarch64-apple-darwin.tar.gz",
"etag": "0x8DCDE14D5BC10C6",
"checksum": "1510e68aae1be38f995c80a8cc16eeadeb4ab304991c0cf0f96773b7b1d41ba7",
"bin": "cargo-machete-v0.7.0-aarch64-apple-darwin/cargo-machete"
}
},
"0.6": {
"version": "0.6.2"

View File

@@ -19,10 +19,32 @@
},
"license_markdown": "[MIT](https://github.com/rust-cross/cargo-zigbuild/blob/main/LICENSE)",
"latest": {
"version": "0.19.2"
"version": "0.19.3"
},
"0.19": {
"version": "0.19.2"
"version": "0.19.3"
},
"0.19.3": {
"x86_64_linux_musl": {
"etag": "0x8DCDCA2DC25EFC6",
"checksum": "49d4796319f0b85039783675499d092cfbb95f33f9cc9e6feef239f7f23efe5c"
},
"x86_64_windows": {
"etag": "0x8DCDC9F69902822",
"checksum": "ba09c9f260500ffcf6837f57b06f1fc826695bdc28f69b0258067345b25661e1"
},
"aarch64_linux_musl": {
"etag": "0x8DCDCA2DC4E31F3",
"checksum": "b3bd9e02e1fa8ef4cd0c96a9686f2a9ed8ddf17c175c4de71f8709ca11e83c4a"
},
"aarch64_macos": {
"etag": "0x8DCDCA0D37AABD0",
"checksum": "60348c23e14e212b11bb68eec3cf3b5db2d18461f02efb0066ee6b1ec87790de"
},
"aarch64_windows": {
"etag": "0x8DCDC9F9CE2DE4D",
"checksum": "c624ac2b937991dd9d08e3d4b4c248ad3ea6ab6ea8e302754ad52b77856193e4"
}
},
"0.19.2": {
"x86_64_linux_musl": {

View File

@@ -28,13 +28,39 @@
},
"license_markdown": "[MIT](https://github.com/orhun/git-cliff/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/orhun/git-cliff/blob/main/LICENSE-APACHE)",
"latest": {
"version": "2.6.0"
"version": "2.6.1"
},
"2": {
"version": "2.6.0"
"version": "2.6.1"
},
"2.6": {
"version": "2.6.0"
"version": "2.6.1"
},
"2.6.1": {
"x86_64_linux_musl": {
"etag": "0x8DCDF0C286D5E7C",
"checksum": "aa79de881c46ad783de43e20e6a5711cd6f7ef7e9b9d01648845d8c577817d78"
},
"x86_64_macos": {
"etag": "0x8DCDF0BF132B0C7",
"checksum": "1c819d6beaafe596b1b825519488362c56d7cd330a61d27b68dcf48b2cd13a08"
},
"x86_64_windows": {
"etag": "0x8DCDF0D0C6CFB82",
"checksum": "519f7cd9e5f43f1c11f323cddcb1e77b5ca7317a6ff72297be2f41975d45febe"
},
"aarch64_linux_musl": {
"etag": "0x8DCDF0C37EC48D9",
"checksum": "2e350b6fc7d8e46db466efa1fd35a41103041f9ea45eee9dd7ca8d419aac2155"
},
"aarch64_macos": {
"etag": "0x8DCDF0C177CD533",
"checksum": "d1501f61d7037cb7beaa315e6c413c3b92c19d835f59e706a070c344476a3d72"
},
"aarch64_windows": {
"etag": "0x8DCDF0CF49F0785",
"checksum": "ad2b600909927b0b5e6e0b593f54e69c5370b3fa969f7fda761638ff6f0d49f5"
}
},
"2.6.0": {
"x86_64_linux_musl": {

32
manifests/rclone.json generated
View File

@@ -28,13 +28,39 @@
},
"license_markdown": "[MIT](https://github.com/rclone/rclone/blob/master/COPYING)",
"latest": {
"version": "1.68.0"
"version": "1.68.1"
},
"1": {
"version": "1.68.0"
"version": "1.68.1"
},
"1.68": {
"version": "1.68.0"
"version": "1.68.1"
},
"1.68.1": {
"x86_64_linux_musl": {
"etag": "0x8DCDCB2BE40EEB1",
"checksum": "34f34743b1831523cd2e0aff74447b717e2d62fe1b598e91703899e0c0689568"
},
"x86_64_macos": {
"etag": "0x8DCDCB37928251B",
"checksum": "d81e091571bc040282dab39d0cdee6b3215774de389469cd850c9803d6191de3"
},
"x86_64_windows": {
"etag": "0x8DCDCB3ACDFDD3A",
"checksum": "35e550ea373d90ed65ac1e2202420923584ec0501cf143ae27bdcff580a7c51f"
},
"aarch64_linux_musl": {
"etag": "0x8DCDCB2D43CFABB",
"checksum": "bd8b4e0923239f80d3a25fe37bea09050038fa8fdbadacd44b8cef2a3944777d"
},
"aarch64_macos": {
"etag": "0x8DCDCB380FC47C9",
"checksum": "38e7588e13c93ee710daa44bb798437eca7fd583d4e98d0bce6c685ff11f4152"
},
"aarch64_windows": {
"etag": "0x8DCDCB3B3D39CE3",
"checksum": "89fab75effaf3b921b76ac4f70367680be0ae1c5e1f12d767cc4be768603e511"
}
},
"1.68.0": {
"x86_64_linux_musl": {

29
manifests/syft.json generated
View File

@@ -24,10 +24,35 @@
},
"license_markdown": "[Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE)",
"latest": {
"version": "1.12.2"
"version": "1.13.0"
},
"1": {
"version": "1.12.2"
"version": "1.13.0"
},
"1.13": {
"version": "1.13.0"
},
"1.13.0": {
"x86_64_linux_musl": {
"etag": "0x8DCDC9DCA20EA29",
"checksum": "4a664f0b6de1bb3cfebebcf8baea7560d3f4b7424130f1cc2075de746a3cc039"
},
"x86_64_macos": {
"etag": "0x8DCDC9DCAD1E6F2",
"checksum": "b6778cdceed79eca793c17cff9f258cdfe906a5c2471d3710939d5dd2421a92e"
},
"x86_64_windows": {
"etag": "0x8DCDC9DCAD0D6B0",
"checksum": "2baed62f6a866039fd934fc765b0094ffbf348acfd259841a58e14b141d25af5"
},
"aarch64_linux_musl": {
"etag": "0x8DCDC9DCA19518A",
"checksum": "1b878b55d7a2a9371d6e363794bd3adffc8d7fe75cd733b2f1f61c78214ddb97"
},
"aarch64_macos": {
"etag": "0x8DCDC9DCACF51D0",
"checksum": "1900adc1401cfdd3bde9f39f49124ecd9b6f78f9983d81224ad4f419030b7185"
}
},
"1.12": {
"version": "1.12.2"

View File

@@ -24,13 +24,35 @@
},
"license_markdown": "[Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE)",
"latest": {
"version": "25.0.0"
"version": "25.0.1"
},
"25": {
"version": "25.0.0"
"version": "25.0.1"
},
"25.0": {
"version": "25.0.0"
"version": "25.0.1"
},
"25.0.1": {
"x86_64_linux_gnu": {
"etag": "0x8DCDCE18BBDE564",
"checksum": "3785b32b79fd7af4f12bf42c4e46debf48ec853fbcc4a097a3bd9728237fb3ef"
},
"x86_64_macos": {
"etag": "0x8DCDCE18C974B30",
"checksum": "1e06ab357904272ecfbedc8f2b007ba45121ee66c8fe6958814ae31e918cbfe4"
},
"x86_64_windows": {
"etag": "0x8DCDCE1900D718C",
"checksum": "2849c8d487d2c9ab83fb993f896f2b4fac7a7b8e8f3a6f3417b7b182c728e26c"
},
"aarch64_linux_gnu": {
"etag": "0x8DCDCE185DCD2E8",
"checksum": "35850d5ae8c9b882826f01cb7400995df6024821c0de7f61bd1a630453adc060"
},
"aarch64_macos": {
"etag": "0x8DCDCE186BB3C20",
"checksum": "d5091035f7bc6499365331ba3d6c9a1c572f2d881fbf29eebbdf83993a20dd55"
}
},
"25.0.0": {
"x86_64_linux_gnu": {

View File

@@ -40,6 +40,9 @@ glibc_pre_2_17_incompat=(
musl_incompat=(
"${glibc_pre_2_17_incompat[@]}"
)
win2019_gnu_incompat=(
cargo-spellcheck
)
incompat_tools=()
case "${1:-}" in
@@ -51,9 +54,11 @@ case "${1:-}" in
;;
*)
echo "tool=$1"
exit 0
exit 1
;;
esac
runner="${2:-}"
bash="${3:-}"
case "$(uname -s)" in
Linux)
host_os=linux
@@ -92,7 +97,16 @@ case "$(uname -s)" in
fi
;;
Darwin) host_os=macos ;;
MINGW* | MSYS* | CYGWIN* | Windows_NT) host_os=windows ;;
MINGW* | MSYS* | CYGWIN* | Windows_NT)
host_os=windows
case "${bash}" in
msys64 | cygwin)
if [[ "${runner}" == "windows-2019" ]]; then
incompat_tools+=("${win2019_gnu_incompat[@]}")
fi
;;
esac
;;
*) bail "unrecognized OS type '$(uname -s)'" ;;
esac
@@ -104,20 +118,19 @@ for manifest in tools/codegen/base/*.json; do
continue
fi
case "${host_os}" in
linux*)
for incompat in ${incompat_tools[@]+"${incompat_tools[@]}"}; do
if [[ "${incompat}" == "${tool_name}" ]]; then
tool_name=''
break
fi
done
;;
linux*) ;;
*)
if [[ "$(jq -r ".platform.x86_64_${host_os}" "${manifest}")" == "null" ]]; then
continue
fi
;;
esac
for incompat in ${incompat_tools[@]+"${incompat_tools[@]}"}; do
if [[ "${incompat}" == "${tool_name}" ]]; then
tool_name=''
break
fi
done
if [[ -n "${tool_name}" ]]; then
if [[ "${version}" != "latest" ]]; then
latest_version=$(jq -r ".latest.version" "manifests/${tool_name}.json")