mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-27 01:20:28 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
437c908c7e | ||
|
|
c130bf4f37 | ||
|
|
c4eb96f432 |
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -34,6 +34,11 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
tidy:
|
tidy:
|
||||||
uses: taiki-e/github-actions/.github/workflows/tidy.yml@main
|
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:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.44.44] - 2024-10-21
|
||||||
|
|
||||||
|
- Update `shfmt@latest` to 3.10.0.
|
||||||
|
|
||||||
## [2.44.43] - 2024-10-19
|
## [2.44.43] - 2024-10-19
|
||||||
|
|
||||||
- Update `dprint@latest` to 0.47.4.
|
- Update `dprint@latest` to 0.47.4.
|
||||||
@@ -2938,7 +2942,8 @@ Note: This release is considered a breaking change because installing on version
|
|||||||
|
|
||||||
Initial release
|
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.44...HEAD
|
||||||
|
[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.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.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
|
[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)",
|
"license_markdown": "[BSD-3-Clause](https://github.com/mvdan/sh/blob/master/LICENSE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "3.9.0"
|
"version": "3.10.0"
|
||||||
},
|
},
|
||||||
"3": {
|
"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": {
|
"3.9": {
|
||||||
"version": "3.9.0"
|
"version": "3.9.0"
|
||||||
|
|||||||
@@ -418,8 +418,10 @@ EOF
|
|||||||
if [[ -n "${dependencies_words:-}" ]]; then
|
if [[ -n "${dependencies_words:-}" ]]; then
|
||||||
echo $'\n'"${dependencies_words}" >>.github/.cspell/rust-dependencies.txt
|
echo $'\n'"${dependencies_words}" >>.github/.cspell/rust-dependencies.txt
|
||||||
fi
|
fi
|
||||||
check_diff .github/.cspell/rust-dependencies.txt
|
if [[ -z "${REMOVE_UNUSED_WORDS:-}" ]]; then
|
||||||
if ! grep -Eq "^\.github/\.cspell/rust-dependencies.txt linguist-generated" .gitattributes; 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"
|
error "you may want to mark .github/.cspell/rust-dependencies.txt linguist-generated"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -443,17 +445,31 @@ EOF
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Make sure the project-specific dictionary does not contain unused words.
|
# Make sure the project-specific dictionary does not contain unused words.
|
||||||
unused=''
|
if [[ -n "${REMOVE_UNUSED_WORDS:-}" ]]; then
|
||||||
for word in $(grep -v '//.*' "${project_dictionary}" || true); do
|
grep_args=()
|
||||||
if ! grep <<<"${all_words}" -Eq -i "^${word}$"; then
|
for word in $(grep -Ev '^//.*' "${project_dictionary}" || true); do
|
||||||
unused+="${word}"$'\n'
|
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
|
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
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user