Compare commits

...

4 Commits

Author SHA1 Message Date
Taiki Endo
d70e241ae4 Release 2.30.0 2024-03-27 21:46:13 +09:00
Taiki Endo
c0ee75ff2e Update changelog 2024-03-27 21:45:58 +09:00
Taiki Endo
e49357f968 Update cargo-hack@latest to 0.6.23 2024-03-27 21:42:51 +09:00
John Vandenberg
b208058c0b Add cargo-cyclonedx (#424) 2024-03-27 21:08:31 +09:00
7 changed files with 87 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ almalinux
bindgen
binstall
coreutils
cyclonedx
distro
doas
dprint

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.30.0] - 2024-03-27
- Support `cargo-cyclonedx`. ([#424)](https://github.com/taiki-e/install-action/pull/424), thanks @jayvdb)
- Update `cargo-hack@latest` to 0.6.23.
## [2.29.8] - 2024-03-26
- Update `syft@latest` to 1.1.0.
@@ -1947,7 +1953,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.29.8...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.30.0...HEAD
[2.30.0]: https://github.com/taiki-e/install-action/compare/v2.29.8...v2.30.0
[2.29.8]: https://github.com/taiki-e/install-action/compare/v2.29.7...v2.29.8
[2.29.7]: https://github.com/taiki-e/install-action/compare/v2.29.6...v2.29.7
[2.29.6]: https://github.com/taiki-e/install-action/compare/v2.29.5...v2.29.6

View File

@@ -85,6 +85,7 @@ https://spdx.org/licenses
| [**cargo-audit**](https://github.com/rustsec/rustsec/tree/HEAD/cargo-audit) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustsec/rustsec/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-APACHE) OR [MIT](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-MIT) |
| [**cargo-binstall**][cargo-binstall] | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/cargo-bins/cargo-binstall/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE) |
| [**cargo-careful**](https://github.com/RalfJung/cargo-careful) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/RalfJung/cargo-careful/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/RalfJung/cargo-careful/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/RalfJung/cargo-careful/blob/HEAD/LICENSE-MIT) |
| [**cargo-cyclonedx**](https://github.com/CycloneDX/cyclonedx-rust-cargo) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/CycloneDX/cyclonedx-rust-cargo/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/CycloneDX/cyclonedx-rust-cargo/blob/HEAD/LICENSE) |
| [**cargo-deny**](https://github.com/EmbarkStudios/cargo-deny) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/EmbarkStudios/cargo-deny/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/EmbarkStudios/cargo-deny/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/EmbarkStudios/cargo-deny/blob/HEAD/LICENSE-MIT) |
| [**cargo-dinghy**](https://github.com/sonos/dinghy) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sonos/dinghy/releases) | Linux, macOS | [Apache-2.0](https://github.com/sonos/dinghy/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/sonos/dinghy/blob/HEAD/LICENSE-MIT) |
| [**cargo-export**](https://github.com/bazhenov/cargo-export) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bazhenov/cargo-export/releases) | Linux, macOS, Windows | [MIT](https://github.com/bazhenov/cargo-export/blob/HEAD/LICENSE) |

31
manifests/cargo-cyclonedx.json generated Normal file
View File

@@ -0,0 +1,31 @@
{
"rust_crate": "cargo-cyclonedx",
"template": {
"x86_64_linux_gnu": {
"url": "https://github.com/CycloneDX/cyclonedx-rust-cargo/releases/download/cargo-cyclonedx-${version}/cargo-cyclonedx-linux-amd64.tar.gz"
},
"x86_64_macos": {
"url": "https://github.com/CycloneDX/cyclonedx-rust-cargo/releases/download/cargo-cyclonedx-${version}/cargo-cyclonedx-Darwin-x86_64.tar.gz"
},
"x86_64_windows": {
"url": "https://github.com/CycloneDX/cyclonedx-rust-cargo/releases/download/cargo-cyclonedx-${version}/cargo-cyclonedx-Win-x86_64.zip"
}
},
"latest": {
"version": "0.5.0"
},
"0.5": {
"version": "0.5.0"
},
"0.5.0": {
"x86_64_linux_gnu": {
"checksum": "7daa885e9b6f59bf7674a2972bf1f37d9e21ab7461c3e2f9c59e99a966ab6026"
},
"x86_64_macos": {
"checksum": "70b197f8095fe2473baef1d96dd4409abb1aef20aeeea00f8a0cbebc25528ddb"
},
"x86_64_windows": {
"checksum": "11e063c29bdd85ceb061b30aa11073238a8c93302b1ff3f5ac37e91ac90b425a"
}
}
}

View File

@@ -2,10 +2,36 @@
"rust_crate": "cargo-hack",
"template": null,
"latest": {
"version": "0.6.22"
"version": "0.6.23"
},
"0.6": {
"version": "0.6.22"
"version": "0.6.23"
},
"0.6.23": {
"x86_64_linux_musl": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-x86_64-unknown-linux-musl.tar.gz",
"checksum": "93769457e869d0bd5ae322666cc04f2515d558bc10c7d5da872eac6aaef25c43"
},
"x86_64_macos": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-x86_64-apple-darwin.tar.gz",
"checksum": "c47a23a2a4e71d0a6f74344a87a38872e0b6dbc68ee86cc6c5df4d872080ef09"
},
"x86_64_windows": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-x86_64-pc-windows-msvc.tar.gz",
"checksum": "90edc889f244a17bdc1a74944b751d2a9176ae86eb40917ccc0ca24fe69192b3"
},
"aarch64_linux_musl": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-aarch64-unknown-linux-musl.tar.gz",
"checksum": "82ce9c3262e5c948555c3097562ffc6c16aa284d3aabf7d6b221fada37b25f9c"
},
"aarch64_macos": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-aarch64-apple-darwin.tar.gz",
"checksum": "54fdf9c43aaeb5b1d40154fddc84769a78c2c8854939cd5b174c9fe1eff4f5ec"
},
"aarch64_windows": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-aarch64-pc-windows-msvc.tar.gz",
"checksum": "11e559db60945df66521b39f3168d0381ab97d5eeb0bc6b9acd16635b1ec342b"
}
},
"0.6.22": {
"x86_64_linux_musl": {

View File

@@ -6,6 +6,7 @@ cd "$(dirname "$0")"/../..
# They don't provide prebuilt binaries for musl or old glibc host.
glibc_pre_2_34_incompat=(
cargo-cyclonedx
xbuild
)
glibc_pre_2_31_incompat=(

View File

@@ -0,0 +1,17 @@
{
"repository": "https://github.com/CycloneDX/cyclonedx-rust-cargo",
"tag_prefix": "cargo-cyclonedx-",
"rust_crate": "${package}",
"version_range": ">= 0.5.0",
"platform": {
"x86_64_macos": {
"asset_name": "${package}-Darwin-x86_64.tar.gz"
},
"x86_64_windows": {
"asset_name": "${package}-Win-x86_64.zip"
},
"x86_64_linux_gnu": {
"asset_name": "${package}-linux-amd64.tar.gz"
}
}
}