Compare commits

...

10 Commits

Author SHA1 Message Date
Taiki Endo
bd71f121e3 Release 2.27.0 2024-02-15 23:04:28 +09:00
Taiki Endo
9632c494b5 Update changelog and readme 2024-02-15 23:04:08 +09:00
Utkarsh Gupta
e17ca27e10 Add cargo-audit (#371) 2024-02-15 22:55:43 +09:00
Taiki Endo
14422f84f0 Release 2.26.20 2024-02-15 09:26:38 +09:00
Taiki Endo
f8e5b00f03 Update syft@latest to 0.105.0 2024-02-15 09:25:04 +09:00
Taiki Endo
27e3d94e52 Release 2.26.19 2024-02-14 00:33:46 +09:00
Taiki Endo
35fc207400 Update cargo-binstall@latest to 1.6.3 2024-02-13 21:14:59 +09:00
Taiki Endo
a86757441d codegen: Mark cargo-rdme 1.4.3 as broken
As of 2024-02-13 01:30 UTC, this release only contains Windows binary.

```
Error: platform list in base manifest for cargo-rdme contains x86_64_linux_musl, but latest release (1.4.3) doesn't contain it
```
2024-02-13 10:31:04 +09:00
Taiki Endo
5794068c21 Release 2.26.18 2024-02-12 11:08:35 +09:00
Taiki Endo
ac67f21e67 Update just@latest to 1.24.0 2024-02-12 06:10:42 +09:00
9 changed files with 261 additions and 15 deletions

View File

@@ -10,6 +10,22 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.27.0] - 2024-02-15
- Support `cargo-audit`. ([#371](https://github.com/taiki-e/install-action/pull/371), thanks @utkarshgupta137)
## [2.26.20] - 2024-02-15
- Update `syft@latest` to 0.105.0.
## [2.26.19] - 2024-02-13
- Update `cargo-binstall@latest` to 1.6.3.
## [2.26.18] - 2024-02-12
- Update `just@latest` to 1.24.0.
## [2.26.17] - 2024-02-11
- Update `shfmt@latest` to 3.8.0.
@@ -1751,7 +1767,11 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.26.17...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.27.0...HEAD
[2.27.0]: https://github.com/taiki-e/install-action/compare/v2.26.20...v2.27.0
[2.26.20]: https://github.com/taiki-e/install-action/compare/v2.26.19...v2.26.20
[2.26.19]: https://github.com/taiki-e/install-action/compare/v2.26.18...v2.26.19
[2.26.18]: https://github.com/taiki-e/install-action/compare/v2.26.17...v2.26.18
[2.26.17]: https://github.com/taiki-e/install-action/compare/v2.26.16...v2.26.17
[2.26.16]: https://github.com/taiki-e/install-action/compare/v2.26.15...v2.26.16
[2.26.15]: https://github.com/taiki-e/install-action/compare/v2.26.14...v2.26.15

View File

@@ -82,6 +82,7 @@ https://spdx.org/licenses
| Name | Where binaries will be installed | Where will it be installed from | Supported platform | License |
| ---- | -------------------------------- | ------------------------------- | ------------------ | ------- |
| [**biome**](https://biomejs.dev)| `/usr/local/bin` | [GitHub Releases](https://github.com/biomejs/biome/releases) | Linux, macOS, Windows | [MIT](https://github.com/biomejs/biome/blob/HEAD/LICENSE) |
| [**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-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) |
@@ -105,12 +106,12 @@ https://spdx.org/licenses
| [**mdbook-linkcheck**](https://github.com/Michael-F-Bryan/mdbook-linkcheck) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases) | Linux, macOS, Windows | [MIT](https://github.com/Michael-F-Bryan/mdbook-linkcheck/blob/HEAD/LICENSE) |
| [**mdbook**](https://github.com/rust-lang/mdBook) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-lang/mdBook/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/rust-lang/mdBook/blob/HEAD/LICENSE) |
| [**nextest**](https://github.com/nextest-rs/nextest) (alias: `cargo-nextest`) | `$CARGO_HOME/bin` | cargo-binstall | Linux, macOS, Windows | [Apache-2.0](https://github.com/nextest-rs/nextest/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/nextest-rs/nextest/blob/HEAD/LICENSE-MIT) |
| [**osv-scanner**]( https://github.com/google/osv-scanner) | `/usr/local/bin` | [GitHub Releases]( https://github.com/google/osv-scanner/releases) | Linux, macOS, Windows | [Apache-2](https://github.com/google/osv-scanner/blob/main/LICENSE) |
| [**osv-scanner**]( https://github.com/google/osv-scanner) | `/usr/local/bin` | [GitHub Releases]( https://github.com/google/osv-scanner/releases) | Linux, macOS, Windows | [Apache-2](https://github.com/google/osv-scanner/blob/HEAD/LICENSE) |
| [**parse-changelog**](https://github.com/taiki-e/parse-changelog) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/parse-changelog/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/parse-changelog/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/parse-changelog/blob/HEAD/LICENSE-MIT) |
| [**protoc**](https://github.com/protocolbuffers/protobuf) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/protocolbuffers/protobuf/releases) | Linux, macOS, Windows | [BSD-3-Clause](https://github.com/protocolbuffers/protobuf/blob/HEAD/LICENSE) |
| [**shellcheck**](https://www.shellcheck.net) | `/usr/local/bin` | [GitHub Releases](https://github.com/koalaman/shellcheck/releases) | Linux, macOS, Windows | [GPL-3.0-or-later](https://github.com/koalaman/shellcheck/blob/HEAD/LICENSE) |
| [**shfmt**](https://github.com/mvdan/sh) | `/usr/local/bin` | [GitHub Releases](https://github.com/mvdan/sh/releases) | Linux, macOS, Windows | [BSD-3-Clause](https://github.com/mvdan/sh/blob/HEAD/LICENSE) |
| [**syft**](https://github.com/anchore/syft) | `/usr/local/bin` | [Github Releases](https://github.com/anchore/syft/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE) |
| [**syft**](https://github.com/anchore/syft) | `/usr/local/bin` | [Github Releases](https://github.com/anchore/syft/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/anchore/syft/blob/HEAD/LICENSE) |
| [**valgrind**](https://valgrind.org) | `/snap/bin` | [snap](https://snapcraft.io/install/valgrind/ubuntu) | Linux | [GPL-2.0-or-later](https://valgrind.org/docs/manual/license.gpl.html) |
| [**wasm-pack**](https://github.com/rustwasm/wasm-pack) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-pack/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rustwasm/wasm-pack/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rustwasm/wasm-pack/blob/HEAD/LICENSE-MIT) |
| [**wasmtime**](https://github.com/bytecodealliance/wasmtime) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bytecodealliance/wasmtime/releases) | Linux, macOS, Windows | [Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/HEAD/LICENSE) |

162
manifests/cargo-audit.json generated Normal file
View File

@@ -0,0 +1,162 @@
{
"rust_crate": "cargo-audit",
"template": {
"x86_64_linux_musl": {
"url": "https://github.com/rustsec/rustsec/releases/download/cargo-audit/v${version}/cargo-audit-x86_64-unknown-linux-musl-v${version}.tgz",
"bin": "cargo-audit-x86_64-unknown-linux-musl-v${version}/cargo-audit"
},
"x86_64_macos": {
"url": "https://github.com/rustsec/rustsec/releases/download/cargo-audit/v${version}/cargo-audit-x86_64-apple-darwin-v${version}.tgz",
"bin": "cargo-audit-x86_64-apple-darwin-v${version}/cargo-audit"
},
"x86_64_windows": {
"url": "https://github.com/rustsec/rustsec/releases/download/cargo-audit/v${version}/cargo-audit-x86_64-pc-windows-msvc-v${version}.zip",
"bin": "cargo-audit-x86_64-pc-windows-msvc-v${version}/cargo-audit.exe"
},
"aarch64_linux_gnu": {
"url": "https://github.com/rustsec/rustsec/releases/download/cargo-audit/v${version}/cargo-audit-aarch64-unknown-linux-gnu-v${version}.tgz",
"bin": "cargo-audit-aarch64-unknown-linux-gnu-v${version}/cargo-audit"
}
},
"latest": {
"version": "0.19.0"
},
"0.19": {
"version": "0.19.0"
},
"0.19.0": {
"x86_64_linux_musl": {
"checksum": "5f27032694119fd990ac92ec093b78c192631c36200d67f5eeb4cb1d42316bae"
},
"x86_64_macos": {
"checksum": "371c2f464bb6152307318dede563c8fb8ecdc456224b21bdf018af58be739068"
},
"x86_64_windows": {
"checksum": "ab2cd04392480becd704a48bc70485310e4f029431f87303fa9aeb485fd463bd"
},
"aarch64_linux_gnu": {
"checksum": "a5b27ba8fdde75814d96a501c564f10cd4a553c0e8a19f4f1746283a7fda5296"
}
},
"0.18": {
"version": "0.18.3"
},
"0.18.3": {
"x86_64_linux_musl": {
"checksum": "2cc37ceefda1d8fc4be45363639e696f31d5bae12c47ce05146a06c432f37290"
},
"x86_64_macos": {
"checksum": "2dbf9a0861a83bef081f5a864b0d1d3464164146a9d230a0f4beb64be5e93eb4"
},
"x86_64_windows": {
"checksum": "6d7111be9b30683ae6fb558ba8a5e3b0ed3153f645e2e1549122af69625c478e"
},
"aarch64_linux_gnu": {
"checksum": "9655a1b5d8b4bde20eeceb2ee0701149eb954b008a3711a207014fadb9623753"
}
},
"0.17": {
"version": "0.17.6"
},
"0.17.6": {
"x86_64_linux_musl": {
"checksum": "62272b41f946c77193e47a96ef8a891df0ec9af6cbefa1e373b42f42a9f99b7e"
},
"x86_64_macos": {
"checksum": "a0ec73e774d187a704f3410337f8a878cc49bd2872eccb152ccaf6500fb177cf"
},
"x86_64_windows": {
"checksum": "a9c7427725b137a6eec66cc36b673024af34870f4193ec33b293db32826a28bc"
},
"aarch64_linux_gnu": {
"checksum": "84821b0a3ec175a13fd499d22214a02e0df84944d5a44414fda92cdb21ef26a1"
}
},
"0.17.5": {
"x86_64_linux_musl": {
"checksum": "6124641659a333285d9002e4f3e46a58782ad6e0bd54aa001747bb3cbe8d4af9"
},
"x86_64_macos": {
"checksum": "61daf860ca51e5f4da236cc0d5fef94b0ef89bcefa950a7f8ede4101e150250b"
},
"x86_64_windows": {
"checksum": "a1a8905406a50d63293410fe424c67232337fefadff9d7507a09bb803f1cbc6d"
},
"aarch64_linux_gnu": {
"checksum": "8ee364de52f333da580c678b3804a579ef2d7beecef3647e2c19c823baa10390"
}
},
"0.17.4": {
"x86_64_linux_musl": {
"checksum": "7787092990768eb44e12ea489fbf94c46efdf1e74209d6eed3da39a770c0ab61"
},
"x86_64_macos": {
"checksum": "e0b0a432f45e6951a0eb45124697eaed5e01ce0a3452d1f2b1bb0e8baad266cb"
},
"x86_64_windows": {
"checksum": "7faa864c7474e9df44ea04d5757b1b6c600df09d28e48825a160d1d7271de2f7"
},
"aarch64_linux_gnu": {
"checksum": "418e8212e79d7a9d3241a6bc8b7cca9016d59d7e3a680cf0d1a36d34e853f98b"
}
},
"0.17.3": {
"x86_64_linux_musl": {
"checksum": "a46d436e83eb4e220dcf6a1fc91dbeae6cd549b5809c070b958e4871e0c49f39"
},
"x86_64_macos": {
"checksum": "20daa15f351d7f44ff256e9b7deb588b2cc37254b3410cf3b02be60db1eb2eb4"
},
"x86_64_windows": {
"checksum": "51ca34dd3c0f3ba69b369e3b97ac6b8efd19ae27b65e78708c437596c597dbb5"
},
"aarch64_linux_gnu": {
"checksum": "f8495db7044f804fc9d0adddae000cc25bbe145fc4e69922c91326ba20850c2f"
}
},
"0.17.2": {
"x86_64_linux_musl": {
"checksum": "c22e29bd95092e0681716c55cd2c5993aa8f85e1d602bec57a018c1690e07bf9"
},
"x86_64_macos": {
"checksum": "ccc0e0b742020a2aa524d0902557af6ef0ca55e2f36a054fd7f2ecb3b154c42c"
},
"x86_64_windows": {
"checksum": "71130a0cabe200944b325bd38e64dde80f8756c333f619b1a88a5860e045e055"
},
"aarch64_linux_gnu": {
"checksum": "b0ade081038ea20fa0943aa6b9b1ce586c4be1eaf69b8897d2495792eac7648c"
}
},
"0.17.0": {
"x86_64_linux_musl": {
"checksum": "552bec2dc3de9913c2783624dce3022ea305bfd4b79994a3c0879ac509c765f0"
},
"x86_64_macos": {
"checksum": "a54ca8139a8c3e4680a4a3009971fc47aca7a2fe5684399888d03934bfba51d3"
},
"x86_64_windows": {
"checksum": "4ae4919ab5e2f7e212272e84d3d54b231e534aa8c7fc7d4dfc08c2c9cad4f679"
},
"aarch64_linux_gnu": {
"checksum": "525a3ab948836ae04a9af680a754c4a05222fd6beb145e08f8a8e0b80089422b"
}
},
"0.16": {
"version": "0.16.0"
},
"0.16.0": {
"x86_64_linux_musl": {
"checksum": "c8abe5afdba8fc206dcd1d18a6b3ba68378e07172ecbfe66576672d247eeb794"
},
"x86_64_macos": {
"checksum": "247eebba6e55efc629dab78cb9322505201288b23905a858e9791e576ade483f"
},
"x86_64_windows": {
"checksum": "f6c1c4a3e6d25b9d42e5c19055cfb26351ae732a65aa23dfedbbff32028aa3cd"
},
"aarch64_linux_gnu": {
"checksum": "64c62fb185036e3838426b9271f36f283e77a2fc60d1c08583113977f29d4f0f"
}
}
}

View File

@@ -21,26 +21,26 @@
}
},
"latest": {
"version": "1.6.2"
"version": "1.6.3"
},
"1.6.2": {
"1.6.3": {
"x86_64_linux_musl": {
"checksum": "6ba2d71e8594a65f2f1aa52d000b0527e03d0ebeeb6b947ecd1e41dacd04e0d6"
"checksum": "ff8f86eaf79812acc259d249e0c62f4b3103d28a16ec02e7f64f8e3bc9c3d2e9"
},
"x86_64_macos": {
"checksum": "7e78bf5000d0dc887efc00eba67bde829c3daed065e46a160ae5ab0fd0f81256"
"checksum": "f8eaee08667695cb4d446c5c474ba5415c3bb07be1a213728107ad65788104f1"
},
"x86_64_windows": {
"checksum": "66ae32e2e92e094552dc4eb2cfb8a6ec204e6b77e38592e5ec7fd36b89b06e6f"
"checksum": "44394103dc261b05ac928f23f8013f5c7e8355a10e849f096d792030f82c89c4"
},
"aarch64_linux_musl": {
"checksum": "62185b07feadb51f6bf865a54c452e0716d51fdca053de619a418b4b3fc1a4e6"
"checksum": "98d1b33b2c2cf076bdc8993d1a645ade9cb36919e22516faf5830933513a03fa"
},
"aarch64_macos": {
"checksum": "7dc88979d33bdaa4ba7cf1ec9e75e176fdaae353beefdb3aab507d2e78a47fbe"
"checksum": "89696b9b02605c0775ca02b0bab3f07843833e3e247b953a5b8f97daa043bdc1"
},
"aarch64_windows": {
"checksum": "9b2c12366d9c7944d9839658fccfe7d1008f838e026bd0f4ab766fec468d1246"
"checksum": "cec760fdeb4523e3de1d7febc1d07bee9aa9a3a3837fd9ec0191ad7396e38ca0"
}
}
}

24
manifests/just.json generated
View File

@@ -18,10 +18,30 @@
}
},
"latest": {
"version": "1.23.0"
"version": "1.24.0"
},
"1": {
"version": "1.23.0"
"version": "1.24.0"
},
"1.24": {
"version": "1.24.0"
},
"1.24.0": {
"x86_64_linux_musl": {
"checksum": "2dec2a689872f7baf2b0a59c663463a33ac866272758d7d7c8c2b62ab5b32238"
},
"x86_64_macos": {
"checksum": "cf35f104d834e9c3331f6b1b00bec6b2f0a99c129fdd27230fccb96b2c2063f1"
},
"x86_64_windows": {
"checksum": "325ed382221ac9189ec9beedcf4b97e6fc229b4e49ede7ca36e47a5b651bb09c"
},
"aarch64_linux_musl": {
"checksum": "3cf0913a14f369dd6e927a7ba9d6c483a4d05df2cc353ed6aed593c6a50c667c"
},
"aarch64_macos": {
"checksum": "90a00ed4ec8b229aa82cc7c62143f09c468998909f0f673c04580b0eebce37a6"
}
},
"1.23": {
"version": "1.23.0"

22
manifests/syft.json generated
View File

@@ -23,7 +23,27 @@
}
},
"latest": {
"version": "0.104.0"
"version": "0.105.0"
},
"0.105": {
"version": "0.105.0"
},
"0.105.0": {
"x86_64_linux_musl": {
"checksum": "6f9b5d7047c33d40609fe00b181f2510049f1ca32f1cbaa4cd34b8a567e41f03"
},
"x86_64_macos": {
"checksum": "2ac536bdca551055e24a2c381afc95a2a8b391aeceed0062f24a3d0a1e6c8fd3"
},
"x86_64_windows": {
"checksum": "b661e8ad08a6d9fa69a356a38111d42e345bb93065998bb9016838e40c469f24"
},
"aarch64_linux_musl": {
"checksum": "c8bb8ad81d6f3e1c5e9d75111ae08158506d1fd1fa4b253a22f7280aef3bec01"
},
"aarch64_macos": {
"checksum": "bfb0ea27bff3f89135f9159765ee896a5cb4d562c2d2b0af5451e8ba7999d97a"
}
},
"0.104": {
"version": "0.104.0"

View File

@@ -0,0 +1,17 @@
{
"repository": "https://github.com/rustsec/rustsec",
"tag_prefix": "cargo-audit/v",
"rust_crate": "${package}",
"asset_name": "${package}-${rust_target}-v${version}.tgz",
"bin": "${package}-${rust_target}-v${version}/${package}",
"platform": {
"x86_64_linux_gnu": {},
"x86_64_linux_musl": {},
"x86_64_macos": {},
"x86_64_windows": {
"asset_name": "${package}-${rust_target}-v${version}.zip",
"bin": "${package}-${rust_target}-v${version}/${package}.exe"
},
"aarch64_linux_gnu": {}
}
}

View File

@@ -1,6 +1,7 @@
{
"repository": "https://github.com/orium/cargo-rdme",
"tag_prefix": "v",
"broken": ["1.4.3"],
"platform": {
"x86_64_linux_musl": {
"asset_name": "${package}_v${version}_${rust_target}.tar.bz2"

View File

@@ -62,7 +62,7 @@ fn main() -> Result<()> {
}
releases.append(&mut r);
}
let releases: BTreeMap<_, _> = releases
let mut releases: BTreeMap<_, _> = releases
.iter()
.filter_map(|release| {
if release.prerelease {
@@ -78,6 +78,9 @@ fn main() -> Result<()> {
Some((Reverse(semver_version.ok()?), (version, release)))
})
.collect();
for broken in &base_info.broken {
releases.remove(&Reverse(broken.clone()));
}
let mut crates_io_info = None;
base_info.rust_crate =
@@ -695,6 +698,8 @@ struct BaseManifest {
/// Path to binary in archive. Default to `${tool}${exe}`.
bin: Option<String>,
signing: Option<Signing>,
#[serde(default)]
broken: Vec<semver::Version>,
platform: BTreeMap<HostPlatform, BaseManifestPlatformInfo>,
version_range: Option<String>,
}