mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-29 10:30:23 +00:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1e481e035 | ||
|
|
1d42c62e8a | ||
|
|
d4d12f0d19 | ||
|
|
8a5a554374 | ||
|
|
cf629cb4fe | ||
|
|
0c6fcb3fbd | ||
|
|
82e8fed825 | ||
|
|
2b8e18789e | ||
|
|
b90e19d688 | ||
|
|
1f490d2b6e |
4
.github/.cspell/organization-dictionary.txt
vendored
4
.github/.cspell/organization-dictionary.txt
vendored
@@ -6,15 +6,18 @@ taiki
|
||||
|
||||
// tool name and its configs or options
|
||||
asan
|
||||
cdylib
|
||||
cflags
|
||||
clippy
|
||||
codegen
|
||||
cxxflags
|
||||
dylib
|
||||
exitcode
|
||||
miri
|
||||
miriflags
|
||||
msan
|
||||
retag
|
||||
rlib
|
||||
rustc
|
||||
rustdoc
|
||||
rustdocflags
|
||||
@@ -22,6 +25,7 @@ rustflags
|
||||
rustfmt
|
||||
rustsec
|
||||
rustup
|
||||
staticlib
|
||||
valgrind
|
||||
xcompile
|
||||
Zmiri
|
||||
|
||||
22
CHANGELOG.md
22
CHANGELOG.md
@@ -10,6 +10,22 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.16.4] - 2023-08-23
|
||||
|
||||
- Update `cargo-llvm-cov@latest` to 0.5.30.
|
||||
|
||||
## [2.16.3] - 2023-08-23
|
||||
|
||||
- Update `cargo-llvm-cov@latest` to 0.5.29.
|
||||
|
||||
## [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 +1107,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.16.0...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.16.4...HEAD
|
||||
[2.16.4]: https://github.com/taiki-e/install-action/compare/v2.16.3...v2.16.4
|
||||
[2.16.3]: https://github.com/taiki-e/install-action/compare/v2.16.2...v2.16.3
|
||||
[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
|
||||
|
||||
55
manifests/cargo-llvm-cov.json
generated
55
manifests/cargo-llvm-cov.json
generated
@@ -18,10 +18,61 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "0.5.27"
|
||||
"version": "0.5.30"
|
||||
},
|
||||
"0.5": {
|
||||
"version": "0.5.27"
|
||||
"version": "0.5.30"
|
||||
},
|
||||
"0.5.30": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "6731e8d7767145debb825095ab3ab7b9ab25cf7f5a10d22d17c1ef4566fbf249"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "9f634e2bed2dff89ec21177daf8abc1d55c1cca07e73d52f70b796f63a7a3d52"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "60dd774010ae493d17ca052f33d4976f5fe13e462d5b0f731a6c5e39de7475e8"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "87718e164f6206fe4b2cf9b600bcafa1b582f22509820147f1060569e1d9217c"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "58d6295dffafdb920a1096635f9dd5334e5911d3e27cd7bccb0d2d9f99cc86b2"
|
||||
}
|
||||
},
|
||||
"0.5.29": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "963ef54eca8296c4c112f0453b9bc36e5103ab1bee2b272abeb1e3474ae4aab8"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "be124539c0a1cc99124b28bda4fa916b5189a706fc975add13c4299f74d31237"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "ac70d70ac560a433276b6037f684044fb66627a8ddab38fe999599951d075845"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "5865b9f03bbc6684731eaaa2ae512bf85dc11ee409e25e77882f4183af1ac03d"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "e05bf23c4d8b0af4b3127e10cf3484ca107e32a808e1cab48e417a14d3542edc"
|
||||
}
|
||||
},
|
||||
"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