Compare commits

...

8 Commits

Author SHA1 Message Date
Taiki Endo
437c908c7e Release 2.44.44 2024-10-21 10:19:50 +09:00
Taiki Endo
c130bf4f37 Update shfmt@latest to 3.10.0 2024-10-21 06:13:55 +09:00
Taiki Endo
c4eb96f432 ci: Auto-update cspell dictionary 2024-10-21 03:12:56 +09:00
Taiki Endo
a3df29458d Release 2.44.43 2024-10-20 06:19:31 +09:00
Taiki Endo
df5c67543b Update dprint@latest to 0.47.4 2024-10-20 06:14:05 +09:00
Taiki Endo
d45a16464d Release 2.44.42 2024-10-19 21:37:15 +09:00
Taiki Endo
3e243d1e3c Update grcov@latest to 0.8.20 2024-10-19 21:33:28 +09:00
Taiki Endo
a55674144e Update cargo-make@latest to 0.37.23 2024-10-19 21:33:28 +09:00
7 changed files with 146 additions and 21 deletions

View File

@@ -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:

View File

@@ -12,6 +12,20 @@ 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
- Update `dprint@latest` to 0.47.4.
## [2.44.42] - 2024-10-19
- Update `grcov@latest` to 0.8.20.
- Update `cargo-make@latest` to 0.37.23.
## [2.44.41] - 2024-10-19 ## [2.44.41] - 2024-10-19
- Update `release-plz@latest` to 0.3.103. - Update `release-plz@latest` to 0.3.103.
@@ -2928,7 +2942,10 @@ 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.41...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.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
[2.44.40]: https://github.com/taiki-e/install-action/compare/v2.44.39...v2.44.40 [2.44.40]: https://github.com/taiki-e/install-action/compare/v2.44.39...v2.44.40
[2.44.39]: https://github.com/taiki-e/install-action/compare/v2.44.38...v2.44.39 [2.44.39]: https://github.com/taiki-e/install-action/compare/v2.44.38...v2.44.39

View File

@@ -20,10 +20,28 @@
}, },
"license_markdown": "[Apache-2.0](https://github.com/sagiegurari/cargo-make/blob/master/LICENSE)", "license_markdown": "[Apache-2.0](https://github.com/sagiegurari/cargo-make/blob/master/LICENSE)",
"latest": { "latest": {
"version": "0.37.22" "version": "0.37.23"
}, },
"0.37": { "0.37": {
"version": "0.37.22" "version": "0.37.23"
},
"0.37.23": {
"x86_64_linux_musl": {
"etag": "0x8DCF02E6EE46846",
"checksum": "be4f912ae94cf7141e9da71b7c0e5881281bfccd56b4663c9e53c900b0f5ab48"
},
"x86_64_macos": {
"etag": "0x8DCF02E2558DAFF",
"checksum": "1d8c369ef15bf4fbf7dd6c2fb3e1355517b21491ef71e66c7c3fbbb2940ba0dc"
},
"x86_64_windows": {
"etag": "0x8DCF02E98B373A0",
"checksum": "1e6fac8ce7c332e4b7bf25b7b0c18f444bc396cdb08086e1b0225d82554ac58f"
},
"aarch64_macos": {
"etag": "0x8DCF02E35A3F566",
"checksum": "c49a8c3c7fb208a04c2a875391bcfaf52e1c397509320cc93c0f13ecfea3a782"
}
}, },
"0.37.22": { "0.37.22": {
"x86_64_linux_musl": { "x86_64_linux_musl": {

26
manifests/dprint.json generated
View File

@@ -25,10 +25,32 @@
}, },
"license_markdown": "[MIT](https://github.com/dprint/dprint/blob/main/LICENSE)", "license_markdown": "[MIT](https://github.com/dprint/dprint/blob/main/LICENSE)",
"latest": { "latest": {
"version": "0.47.2" "version": "0.47.4"
}, },
"0.47": { "0.47": {
"version": "0.47.2" "version": "0.47.4"
},
"0.47.4": {
"x86_64_linux_musl": {
"etag": "0x8DCF0701CE8BD49",
"checksum": "f43c768656e8024812222a238391601ad8db8e095fa87068e0d5c9c6176cb96a"
},
"x86_64_macos": {
"etag": "0x8DCF0701CE1E72C",
"checksum": "16f360c526c14c070ab618cf6c36ff9c8bf5b32c7e07a0c0c9b58d91697b4a40"
},
"x86_64_windows": {
"etag": "0x8DCF0701CDF78E3",
"checksum": "d91d0a6e607f06ee06fe2b01a6f602e2ace14d44e1d6f11ec6b3f1e0887a6fd6"
},
"aarch64_linux_musl": {
"etag": "0x8DCF0701CE6C3AD",
"checksum": "3b009c51c85336058672b4be54d4bdb044b7f9bbd570d51802449c1eac18ef6c"
},
"aarch64_macos": {
"etag": "0x8DCF0701CDB5ED2",
"checksum": "522783119d1ab52164ff2aaea2072c1578a7b8988156a0add06d370eb58d439e"
}
}, },
"0.47.2": { "0.47.2": {
"x86_64_linux_musl": { "x86_64_linux_musl": {

26
manifests/grcov.json generated
View File

@@ -19,10 +19,32 @@
}, },
"license_markdown": "[MPL-2.0](https://github.com/mozilla/grcov/blob/HEAD/LICENSE-MPL-2.0)", "license_markdown": "[MPL-2.0](https://github.com/mozilla/grcov/blob/HEAD/LICENSE-MPL-2.0)",
"latest": { "latest": {
"version": "0.8.19" "version": "0.8.20"
}, },
"0.8": { "0.8": {
"version": "0.8.19" "version": "0.8.20"
},
"0.8.20": {
"x86_64_linux_musl": {
"etag": "0x8DCEC5E155652B7",
"checksum": "9fa59024f3ed5ab1058fe14788a77b6ef0e7830c66ee87c695ad075da5e477ec"
},
"x86_64_macos": {
"etag": "0x8DCEC5E13AB200C",
"checksum": "4e11796998e8f71e409355b5023350ef260cab1913ef6a44c5af8e12613153d7"
},
"x86_64_windows": {
"etag": "0x8DCEC5E1436E422",
"checksum": "619df1679f5ea8556566b09833d4c097f899ed9f295339f87eb33709cfdcf50f"
},
"aarch64_linux_musl": {
"etag": "0x8DCEC5E131CEDB4",
"checksum": "359511b0a612827aa31fb1adafc73b1032b8d5fe6188ff934efc52f2a32087fe"
},
"aarch64_macos": {
"etag": "0x8DCEC5E117CD229",
"checksum": "4921f30488cd3a4d5feb094cb132addbcd073eb67a87d6bde95f5827e6bd54ab"
}
}, },
"0.8.19": { "0.8.19": {
"x86_64_linux_musl": { "x86_64_linux_musl": {

29
manifests/shfmt.json generated
View File

@@ -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"

View File

@@ -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
if [[ -z "${REMOVE_UNUSED_WORDS:-}" ]]; then
check_diff .github/.cspell/rust-dependencies.txt check_diff .github/.cspell/rust-dependencies.txt
if ! grep -Eq "^\.github/\.cspell/rust-dependencies.txt linguist-generated" .gitattributes; then 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.
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='' unused=''
for word in $(grep -v '//.*' "${project_dictionary}" || true); do for word in $(grep -Ev '^//.*' "${project_dictionary}" || true); do
if ! grep <<<"${all_words}" -Eq -i "^${word}$"; then if ! grep -Eqi "^${word}$" <<<"${all_words}"; then
unused+="${word}"$'\n' unused+="${word}"$'\n'
fi fi
done done
if [[ -n "${unused}" ]]; then if [[ -n "${unused}" ]]; then
error "unused words in dictionaries; please remove the following words from ${project_dictionary}" error "unused words in dictionaries; please remove the following words from ${project_dictionary} or run ${0##*/} with REMOVE_UNUSED_WORDS=1"
echo "=======================================" printf '=======================================\n'
echo -n "${unused}" printf '%s' "${unused}"
echo "=======================================" printf '=======================================\n'
fi
fi fi
fi fi
fi fi