Compare commits

...

8 Commits

Author SHA1 Message Date
Taiki Endo
10b774e4cd Release 2.31.2 2024-03-28 21:43:50 +09:00
Taiki Endo
d5fae932b8 Fix cargo-spellcheck installation (#428) 2024-03-28 21:43:19 +09:00
Taiki Endo
0329ca5b7b Release 2.31.1 2024-03-28 10:40:14 +09:00
Taiki Endo
d1bca82356 Update protoc@latest to 3.26.1 2024-03-28 06:18:49 +09:00
Taiki Endo
6d509c1efb Release 2.31.0 2024-03-27 23:27:10 +09:00
Taiki Endo
b184acdcd4 Update changelog 2024-03-27 23:26:54 +09:00
John Vandenberg
e52d622f2d Add cargo-spellcheck (#423) 2024-03-27 23:23:09 +09:00
John Vandenberg
a9f98a05a1 Add typos (#422) 2024-03-27 23:12:31 +09:00
9 changed files with 1840 additions and 10 deletions

View File

@@ -10,9 +10,23 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.31.2] - 2024-03-28
- Fix `cargo-spellcheck` installation bug. ([#428](https://github.com/taiki-e/install-action/pull/428))
## [2.31.1] - 2024-03-28
- Update `protoc@latest` to 3.26.1.
## [2.31.0] - 2024-03-27
- Support `typos`. ([#422](https://github.com/taiki-e/install-action/pull/422), thanks @jayvdb)
- Support `cargo-spellcheck`. ([#423](https://github.com/taiki-e/install-action/pull/423), thanks @jayvdb)
## [2.30.0] - 2024-03-27
- Support `cargo-cyclonedx`. ([#424)](https://github.com/taiki-e/install-action/pull/424), thanks @jayvdb)
- Support `cargo-cyclonedx`. ([#424](https://github.com/taiki-e/install-action/pull/424), thanks @jayvdb)
- Update `cargo-hack@latest` to 0.6.23.
@@ -1953,7 +1967,10 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.30.0...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.31.2...HEAD
[2.31.2]: https://github.com/taiki-e/install-action/compare/v2.31.1...v2.31.2
[2.31.1]: https://github.com/taiki-e/install-action/compare/v2.31.0...v2.31.1
[2.31.0]: https://github.com/taiki-e/install-action/compare/v2.30.0...v2.31.0
[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

View File

@@ -97,6 +97,7 @@ https://spdx.org/licenses
| [**cargo-no-dev-deps**](https://github.com/taiki-e/cargo-no-dev-deps) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-no-dev-deps/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-no-dev-deps/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-no-dev-deps/blob/HEAD/LICENSE-MIT) |
| [**cargo-rdme**](https://github.com/orium/cargo-rdme) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/orium/cargo-rdme/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/orium/cargo-rdme/blob/HEAD/LICENSE.md) |
| [**cargo-sort**](https://github.com/DevinR528/cargo-sort) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/DevinR528/cargo-sort/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/DevinR528/cargo-sort/blob/55ec89082466f6bb246d870a8d56d166a8e1f08b/Cargo.toml#L5) |
| [**cargo-spellcheck**](https://github.com/drahnr/cargo-spellcheck) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/drahnr/cargo-spellcheck/releases) | Linux and Windows | [LGPLv2.1](https://github.com/drahnr/cargo-spellcheck/blob/f60c81ad0134c12faf08715f08d14f66e749f6e7/docs/checkers.md#nlprules) |
| [**cargo-tarpaulin**](https://github.com/xd009642/tarpaulin) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/xd009642/tarpaulin/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/xd009642/tarpaulin/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/xd009642/tarpaulin/blob/HEAD/LICENSE-MIT) |
| [**cargo-udeps**](https://github.com/est31/cargo-udeps) | `$CARGO_HOME/bin` | [GitHub Release](https://github.com/est31/cargo-udeps/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/est31/cargo-udeps/blob/HEAD/LICENSE) |
| [**cargo-valgrind**](https://github.com/jfrimmel/cargo-valgrind) | `$CARGO_HOME/bin` | [GitHub Release](https://github.com/jfrimmel/cargo-valgrind/releases) | Linux, macOS, Windows | [MIT](https://github.com/jfrimmel/cargo-valgrind/blob/HEAD/LICENSE-MIT) or [Apache-2.0](https://github.com/jfrimmel/cargo-valgrind/blob/HEAD/LICENSE-APACHE) |
@@ -115,6 +116,7 @@ https://spdx.org/licenses
| [**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/HEAD/LICENSE) |
| [**typos**](https://github.com/crate-ci/typos) | `$CARGO_HOME/bin` | [Github Releases](https://github.com/crate-ci/typos/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/crate-ci/typos/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/crate-ci/typos/blob/HEAD/LICENSE-MIT) |
| [**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-bindgen**](https://github.com/rustwasm/wasm-bindgen) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-bindgen/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rustwasm/wasm-bindgen/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rustwasm/wasm-bindgen/blob/HEAD/LICENSE-MIT) |
| [**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) |

41
manifests/cargo-spellcheck.json generated Normal file
View File

@@ -0,0 +1,41 @@
{
"rust_crate": "cargo-spellcheck",
"template": {
"x86_64_linux_gnu": {
"url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-unknown-linux-gnu"
},
"x86_64_windows": {
"url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-pc-windows-gnu.exe"
}
},
"latest": {
"version": "0.13.2"
},
"0.13": {
"version": "0.13.2"
},
"0.13.2": {
"x86_64_linux_gnu": {
"checksum": "f547b8f992dcc43f8a4106bae8b090ecb3fcb7ef6ce336081c22636f70e876d9"
},
"x86_64_windows": {
"checksum": "f54fb8243497258115d1eb55b99bfc94ab3e09636c78665d3b6410885ba9190a"
}
},
"0.13.1": {
"x86_64_linux_gnu": {
"checksum": "17af34dbefad5c45d23df3e4e81b0addc78782db0ed2e8e491a1532761463e1e"
},
"x86_64_windows": {
"checksum": "d18c19a3c5e7eb9ea516e691b54a4517a60517b6b1fb75b7f56a0c1dcc9b177e"
}
},
"0.13.0": {
"x86_64_linux_gnu": {
"checksum": "41e99240e55f38cc6d43d7ea9f2ccd448f584eefdc262129e4238f057d995923"
},
"x86_64_windows": {
"checksum": "57d45d5942d7ccd49599aae549c0bd5d906868eaeb39481088e55001d65f4784"
}
}
}

28
manifests/protoc.json generated
View File

@@ -2,13 +2,35 @@
"rust_crate": null,
"template": null,
"latest": {
"version": "3.26.0"
"version": "3.26.1"
},
"3": {
"version": "3.26.0"
"version": "3.26.1"
},
"3.26": {
"version": "3.26.0"
"version": "3.26.1"
},
"3.26.1": {
"x86_64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-linux-x86_64.zip",
"checksum": "a7be2928c0454f132c599e25b79b7ad1b57663f2337d7f7e468a1d59b98ec1b0"
},
"x86_64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-osx-x86_64.zip",
"checksum": "febd8821c3a2a23f72f4641471e0ab6486f4fb07b68111490a27a31681465b3c"
},
"x86_64_windows": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-win64.zip",
"checksum": "9090d135a1159042b13b4e51b210e40cb820d85a5032a6eca5f9b3ca3bdfb539"
},
"aarch64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-linux-aarch_64.zip",
"checksum": "64a3b3b5f7dac0c8f9cf1cb85b2b1a237eb628644f6bcb0fb8f23db6e0d66181"
},
"aarch64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-osx-aarch_64.zip",
"checksum": "26a29befa8891ecc48809958c909d284f2b9539a2eb47f22cadc631fe6abe8fd"
}
},
"3.26.0": {
"x86_64_linux_gnu": {

1715
manifests/typos.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -0,0 +1,13 @@
{
"repository": "https://github.com/drahnr/cargo-spellcheck",
"tag_prefix": "v",
"rust_crate": "${package}",
"asset_name": "${package}-v${version}-${rust_target}",
"version_range": ">= 0.13",
"platform": {
"x86_64_windows": {
"asset_name": "${package}-v${version}-x86_64-pc-windows-gnu.exe"
},
"x86_64_linux_gnu": {}
}
}

View File

@@ -0,0 +1,15 @@
{
"repository": "https://github.com/crate-ci/typos",
"tag_prefix": "v",
"rust_crate": "${package}-cli",
"asset_name": "${package}-v${version}-${rust_target}.tar.gz",
"version_range": ">= 1.0.0",
"platform": {
"x86_64_linux_musl": {},
"x86_64_macos": {},
"x86_64_windows": {
"asset_name": "${package}-v${version}-${rust_target}.zip"
},
"aarch64_macos": {}
}
}

View File

@@ -755,12 +755,16 @@ struct BaseManifest {
}
impl BaseManifest {
fn validate(&self) {
if let Some(bin) = &self.bin {
for bin in self.bin.iter().chain(self.platform.values().flat_map(|m| &m.bin)) {
assert!(!bin.as_slice().is_empty());
}
for m in self.platform.values() {
if let Some(bin) = &m.bin {
assert!(!bin.as_slice().is_empty());
for bin in bin.as_slice() {
let file_name = Path::new(bin).file_name().unwrap().to_str().unwrap();
if !self.repository.ends_with("/xbuild") {
assert!(
!(file_name.contains("${version") || file_name.contains("${rust")),
"{bin}"
);
}
}
}
}