mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-28 18:10:26 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c6fcb3fbd | ||
|
|
82e8fed825 | ||
|
|
2b8e18789e | ||
|
|
b90e19d688 | ||
|
|
1f490d2b6e |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -10,6 +10,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.16.2] - 2023-08-22
|
||||
|
||||
- Update `cargo-llvm-cov@latest` to 0.5.28.
|
||||
|
||||
## [2.16.1] - 2023-08-22
|
||||
|
||||
- Update `wasmtime@latest` to 12.0.0.
|
||||
|
||||
## [2.16.0] - 2023-08-19
|
||||
|
||||
- Support `cargo-machete`. ([#196](https://github.com/taiki-e/install-action/pull/196), thanks @tgnottingham)
|
||||
@@ -1091,7 +1099,9 @@ Note: This release is considered a breaking change because installing on version
|
||||
|
||||
Initial release
|
||||
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.16.0...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.16.2...HEAD
|
||||
[2.16.2]: https://github.com/taiki-e/install-action/compare/v2.16.1...v2.16.2
|
||||
[2.16.1]: https://github.com/taiki-e/install-action/compare/v2.16.0...v2.16.1
|
||||
[2.16.0]: https://github.com/taiki-e/install-action/compare/v2.15.6...v2.16.0
|
||||
[2.15.6]: https://github.com/taiki-e/install-action/compare/v2.15.5...v2.15.6
|
||||
[2.15.5]: https://github.com/taiki-e/install-action/compare/v2.15.4...v2.15.5
|
||||
|
||||
21
manifests/cargo-llvm-cov.json
generated
21
manifests/cargo-llvm-cov.json
generated
@@ -18,10 +18,27 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "0.5.27"
|
||||
"version": "0.5.28"
|
||||
},
|
||||
"0.5": {
|
||||
"version": "0.5.27"
|
||||
"version": "0.5.28"
|
||||
},
|
||||
"0.5.28": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "2e615725d904a4372f8613b8fc2012f392e22e8ce1190b3ad38a63ef25958f9e"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "56cc1e4c456b560608edea0871b7d5c0f6b61abe2eab6dcfdf66ef5dc32849c9"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "60d1c6253a6ac1d33127d22f9520237229422f9c91102e02134d9ec2f40d21fa"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "a944fb36384a8baf9625c26f5232a82e344be38075be9175d50acf1128c418e3"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "035f1d632073d90d4b7986e9392b6659552d83759e154697d6032d2eb5fb7557"
|
||||
}
|
||||
},
|
||||
"0.5.27": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
35
manifests/wasmtime.json
generated
35
manifests/wasmtime.json
generated
@@ -2,7 +2,40 @@
|
||||
"rust_crate": "wasmtime-cli",
|
||||
"template": null,
|
||||
"latest": {
|
||||
"version": "11.0.1"
|
||||
"version": "12.0.0"
|
||||
},
|
||||
"12": {
|
||||
"version": "12.0.0"
|
||||
},
|
||||
"12.0": {
|
||||
"version": "12.0.0"
|
||||
},
|
||||
"12.0.0": {
|
||||
"x86_64_linux_gnu": {
|
||||
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.0/wasmtime-v12.0.0-x86_64-linux.tar.xz",
|
||||
"checksum": "c31e0d8eb2797627ba1f72b313315da960016f87ccec3cce2ae67654060a8f04",
|
||||
"bin": "wasmtime-v12.0.0-x86_64-linux/wasmtime"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.0/wasmtime-v12.0.0-x86_64-macos.tar.xz",
|
||||
"checksum": "27a649593f3106f256c227d26ce8f3d03b360a267d89b094537217104fa05e88",
|
||||
"bin": "wasmtime-v12.0.0-x86_64-macos/wasmtime"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.0/wasmtime-v12.0.0-x86_64-windows.zip",
|
||||
"checksum": "fb0c6e981f2d1997174ef198819091bdca517c20ecd727762e0b38d2643b1b4d",
|
||||
"bin": "wasmtime-v12.0.0-x86_64-windows/wasmtime.exe"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.0/wasmtime-v12.0.0-aarch64-linux.tar.xz",
|
||||
"checksum": "3693fd9db6ad37e6937c5fdc003f0038bbfde9eec0ad33ee7cc611a85cac29c4",
|
||||
"bin": "wasmtime-v12.0.0-aarch64-linux/wasmtime"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.0/wasmtime-v12.0.0-aarch64-macos.tar.xz",
|
||||
"checksum": "64d594618e47e0b5b70a3b38c943e6d79c145ea281defef1ad13c92faafc3e8c",
|
||||
"bin": "wasmtime-v12.0.0-aarch64-macos/wasmtime"
|
||||
}
|
||||
},
|
||||
"11": {
|
||||
"version": "11.0.1"
|
||||
|
||||
@@ -112,6 +112,49 @@ if [[ -n "$(git ls-files '*.rs')" ]]; then
|
||||
echo "${new}" >"${lib}"
|
||||
check_diff "${lib}"
|
||||
done
|
||||
# Make sure that public Rust crates don't contain executables.
|
||||
failed_files=''
|
||||
metadata=$(cargo metadata --format-version=1 --all-features --no-deps)
|
||||
has_public_crate=''
|
||||
for id in $(jq <<<"${metadata}" '.workspace_members[]'); do
|
||||
pkg=$(jq <<<"${metadata}" ".packages[] | select(.id == ${id})")
|
||||
publish=$(jq <<<"${pkg}" -r '.publish')
|
||||
# Publishing is unrestricted if null, and forbidden if an empty array.
|
||||
if [[ "${publish}" == "[]" ]]; then
|
||||
continue
|
||||
fi
|
||||
has_public_crate='1'
|
||||
done
|
||||
if [[ -n "${has_public_crate}" ]]; then
|
||||
info "checking file permissions"
|
||||
if [[ -f Cargo.toml ]] && grep -Eq '^\[package\]' Cargo.toml && ! grep -Eq '^publish = false' Cargo.toml; then
|
||||
if ! grep -Eq '^exclude = \[.*\.\*.*\]' Cargo.toml; then
|
||||
error "top-level Cargo.toml of real manifest should have exclude field with \"/.*\" and \"/tools\""
|
||||
elif ! grep -Eq '^exclude = \[.*/tools.*\]' Cargo.toml; then
|
||||
error "top-level Cargo.toml of real manifest should have exclude field with \"/.*\" and \"/tools\""
|
||||
fi
|
||||
fi
|
||||
for p in $(git ls-files); do
|
||||
# Skip directories.
|
||||
if [[ -d "${p}" ]]; then
|
||||
continue
|
||||
fi
|
||||
# Top-level hidden files/directories and tools/* are excluded from crates.io (ensured by the above check).
|
||||
# TODO: fully respect exclude field in Cargo.toml.
|
||||
case "${p}" in
|
||||
.* | tools/*) continue ;;
|
||||
esac
|
||||
if [[ -x "${p}" ]]; then
|
||||
failed_files+="${p}"$'\n'
|
||||
fi
|
||||
done
|
||||
if [[ -n "${failed_files}" ]]; then
|
||||
error "file-permissions-check failed: executable should be in tools/ directory"
|
||||
echo "======================================="
|
||||
echo -n "${failed_files}"
|
||||
echo "======================================="
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# C/C++ (if exists)
|
||||
|
||||
Reference in New Issue
Block a user