mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-27 09:30:29 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b95e9e5c1 | ||
|
|
444be83713 | ||
|
|
437c908c7e | ||
|
|
c130bf4f37 | ||
|
|
c4eb96f432 |
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -34,6 +34,11 @@ concurrency:
|
||||
jobs:
|
||||
tidy:
|
||||
uses: taiki-e/github-actions/.github/workflows/tidy.yml@main
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write # for gh pr edit --add-assignee
|
||||
repository-projects: read # for gh pr edit --add-assignee
|
||||
secrets: inherit
|
||||
|
||||
test:
|
||||
strategy:
|
||||
|
||||
12
CHANGELOG.md
12
CHANGELOG.md
@@ -12,6 +12,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.44.45] - 2024-10-22
|
||||
|
||||
- Update `syft@latest` to 1.14.2.
|
||||
|
||||
## [2.44.44] - 2024-10-21
|
||||
|
||||
- Update `shfmt@latest` to 3.10.0.
|
||||
|
||||
## [2.44.43] - 2024-10-19
|
||||
|
||||
- Update `dprint@latest` to 0.47.4.
|
||||
@@ -2938,7 +2946,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.44.43...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.44.45...HEAD
|
||||
[2.44.45]: https://github.com/taiki-e/install-action/compare/v2.44.44...v2.44.45
|
||||
[2.44.44]: https://github.com/taiki-e/install-action/compare/v2.44.43...v2.44.44
|
||||
[2.44.43]: https://github.com/taiki-e/install-action/compare/v2.44.42...v2.44.43
|
||||
[2.44.42]: https://github.com/taiki-e/install-action/compare/v2.44.41...v2.44.42
|
||||
[2.44.41]: https://github.com/taiki-e/install-action/compare/v2.44.40...v2.44.41
|
||||
|
||||
29
manifests/shfmt.json
generated
29
manifests/shfmt.json
generated
@@ -19,10 +19,35 @@
|
||||
},
|
||||
"license_markdown": "[BSD-3-Clause](https://github.com/mvdan/sh/blob/master/LICENSE)",
|
||||
"latest": {
|
||||
"version": "3.9.0"
|
||||
"version": "3.10.0"
|
||||
},
|
||||
"3": {
|
||||
"version": "3.9.0"
|
||||
"version": "3.10.0"
|
||||
},
|
||||
"3.10": {
|
||||
"version": "3.10.0"
|
||||
},
|
||||
"3.10.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCF147B60D9F66",
|
||||
"checksum": "1f57a384d59542f8fac5f503da1f3ea44242f46dff969569e80b524d64b71dbc"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCF147B5BEC692",
|
||||
"checksum": "ef8d970b3f695a7e8e7d40730eedd2d935ab9599f78a365f319c515bc59d4c83"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCF147B43AEC35",
|
||||
"checksum": "6e4c6acd38de7b4b1ba8f8082b9e688df8c9b861d3f8b2e7bb1b7270201a3587"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCF147B4F57B2C",
|
||||
"checksum": "9d23013d56640e228732fd2a04a9ede0ab46bc2d764bf22a4a35fb1b14d707a8"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCF147B56378B6",
|
||||
"checksum": "86030533a823c0a7cd92dee0f74094e5b901c3277b43def6337d5e19e56fe553"
|
||||
}
|
||||
},
|
||||
"3.9": {
|
||||
"version": "3.9.0"
|
||||
|
||||
28
manifests/syft.json
generated
28
manifests/syft.json
generated
@@ -24,13 +24,35 @@
|
||||
},
|
||||
"license_markdown": "[Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "1.14.1"
|
||||
"version": "1.14.2"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.14.1"
|
||||
"version": "1.14.2"
|
||||
},
|
||||
"1.14": {
|
||||
"version": "1.14.1"
|
||||
"version": "1.14.2"
|
||||
},
|
||||
"1.14.2": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCF1F59B5B0BA5",
|
||||
"checksum": "8fea5191eb749805dc891e4cc7942341ebc95e40b32a4d74647fa7bf6b00cd26"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCF1F59BDDD94F",
|
||||
"checksum": "425657cb763ed262e69460eee07b0e8332e54c3daca771237b4a88c3de7f1648"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCF1F59BED3161",
|
||||
"checksum": "376e54218258a8aa0dbfae1e1574586c113b9a0c09291957c444a43f1280cfe5"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCF1F59B54F806",
|
||||
"checksum": "c095dcf3cb3407e74a6481f67d24eb6a589e8aa88c1d0a4e4626b5c025be78bf"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCF1F59BE65B44",
|
||||
"checksum": "db7397a6d607531cfd730a7c2359ebce748f112dd92a99744b8a6f6af6525d03"
|
||||
}
|
||||
},
|
||||
"1.14.1": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
@@ -418,8 +418,10 @@ EOF
|
||||
if [[ -n "${dependencies_words:-}" ]]; then
|
||||
echo $'\n'"${dependencies_words}" >>.github/.cspell/rust-dependencies.txt
|
||||
fi
|
||||
check_diff .github/.cspell/rust-dependencies.txt
|
||||
if ! grep -Eq "^\.github/\.cspell/rust-dependencies.txt linguist-generated" .gitattributes; then
|
||||
if [[ -z "${REMOVE_UNUSED_WORDS:-}" ]]; then
|
||||
check_diff .github/.cspell/rust-dependencies.txt
|
||||
fi
|
||||
if ! grep -Fq '.github/.cspell/rust-dependencies.txt linguist-generated' .gitattributes; then
|
||||
error "you may want to mark .github/.cspell/rust-dependencies.txt linguist-generated"
|
||||
fi
|
||||
|
||||
@@ -443,17 +445,31 @@ EOF
|
||||
done
|
||||
|
||||
# Make sure the project-specific dictionary does not contain unused words.
|
||||
unused=''
|
||||
for word in $(grep -v '//.*' "${project_dictionary}" || true); do
|
||||
if ! grep <<<"${all_words}" -Eq -i "^${word}$"; then
|
||||
unused+="${word}"$'\n'
|
||||
if [[ -n "${REMOVE_UNUSED_WORDS:-}" ]]; then
|
||||
grep_args=()
|
||||
for word in $(grep -Ev '^//.*' "${project_dictionary}" || true); do
|
||||
if ! grep -Eqi "^${word}$" <<<"${all_words}"; then
|
||||
grep_args+=(-e "^${word}$")
|
||||
fi
|
||||
done
|
||||
if [[ ${#grep_args[@]} -gt 0 ]]; then
|
||||
info "removing unused words from ${project_dictionary}"
|
||||
res=$(grep -Ev "${grep_args[@]}" "${project_dictionary}")
|
||||
printf '%s\n' "${res}" >|"${project_dictionary}"
|
||||
fi
|
||||
else
|
||||
unused=''
|
||||
for word in $(grep -Ev '^//.*' "${project_dictionary}" || true); do
|
||||
if ! grep -Eqi "^${word}$" <<<"${all_words}"; then
|
||||
unused+="${word}"$'\n'
|
||||
fi
|
||||
done
|
||||
if [[ -n "${unused}" ]]; then
|
||||
error "unused words in dictionaries; please remove the following words from ${project_dictionary} or run ${0##*/} with REMOVE_UNUSED_WORDS=1"
|
||||
printf '=======================================\n'
|
||||
printf '%s' "${unused}"
|
||||
printf '=======================================\n'
|
||||
fi
|
||||
done
|
||||
if [[ -n "${unused}" ]]; then
|
||||
error "unused words in dictionaries; please remove the following words from ${project_dictionary}"
|
||||
echo "======================================="
|
||||
echo -n "${unused}"
|
||||
echo "======================================="
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user