Compare commits

...

5 Commits

Author SHA1 Message Date
Taiki Endo
ffdab02603 Release 2.27.8 2024-02-24 03:59:16 +09:00
Taiki Endo
106e933ca7 Update cargo-make@latest to 0.37.10 2024-02-24 03:58:36 +09:00
Taiki Endo
b43e73780d Release 2.27.7 2024-02-24 03:53:25 +09:00
Taiki Endo
5cc177e463 Update cargo-deny@latest to 0.14.12 2024-02-24 03:12:41 +09:00
Taiki Endo
7bf72b04de tidy: Check TOML format 2024-02-23 03:08:59 +09:00
5 changed files with 67 additions and 5 deletions

9
.taplo.toml Normal file
View File

@@ -0,0 +1,9 @@
# Taplo configuration
# https://taplo.tamasfe.dev/configuration/formatter-options.html
[formatting]
align_comments = false
allowed_blank_lines = 1
array_auto_collapse = false
array_auto_expand = false
indent_string = " "

View File

@@ -10,6 +10,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.27.8] - 2024-02-23
- Update `cargo-make@latest` to 0.37.10.
## [2.27.7] - 2024-02-23
- Update `cargo-deny@latest` to 0.14.12.
## [2.27.6] - 2024-02-22
- Update `cargo-llvm-cov@latest` to 0.6.6.
@@ -1793,7 +1801,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.27.6...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.27.8...HEAD
[2.27.8]: https://github.com/taiki-e/install-action/compare/v2.27.7...v2.27.8
[2.27.7]: https://github.com/taiki-e/install-action/compare/v2.27.6...v2.27.7
[2.27.6]: https://github.com/taiki-e/install-action/compare/v2.27.5...v2.27.6
[2.27.5]: https://github.com/taiki-e/install-action/compare/v2.27.4...v2.27.5
[2.27.4]: https://github.com/taiki-e/install-action/compare/v2.27.3...v2.27.4

View File

@@ -19,10 +19,24 @@
}
},
"latest": {
"version": "0.14.11"
"version": "0.14.12"
},
"0.14": {
"version": "0.14.11"
"version": "0.14.12"
},
"0.14.12": {
"x86_64_linux_musl": {
"checksum": "946986e05b1f031043ef104cf719006d1b1a1b9fdf16487f88d1a20a83d13903"
},
"x86_64_macos": {
"checksum": "e80c0499a802c20476ce2908b8e020bc39b562010be08e558e1a2e0f800dd501"
},
"x86_64_windows": {
"checksum": "f67455423ef56bc936e3526d8a35b62102c353be2fdb91d49d55ee4517ee3cd6"
},
"aarch64_macos": {
"checksum": "8bd1cca96a45a01da2db45cca12636c749b78c327c5a04b9d576e4c39d36e88a"
}
},
"0.14.11": {
"x86_64_linux_musl": {

View File

@@ -19,10 +19,24 @@
}
},
"latest": {
"version": "0.37.9"
"version": "0.37.10"
},
"0.37": {
"version": "0.37.9"
"version": "0.37.10"
},
"0.37.10": {
"x86_64_linux_musl": {
"checksum": "f75cd1d6d776754a88c20d22190efdaa4ac5066e61eb9699ab6b3d884c3b116a"
},
"x86_64_macos": {
"checksum": "0046eb73677639aea70ec890896c31f5c9bfca12a9bdddf8be155738189ad1a0"
},
"x86_64_windows": {
"checksum": "ee550a626b0ec1d03b703bd6e53ad17f95eb7586f8c6d7bd589e0a6a77b87eac"
},
"aarch64_macos": {
"checksum": "cba2c5ce4f9f60255046e7b8a3547eebf6a62f59e20fb64adc2811f1a855d0fe"
}
},
"0.37.9": {
"x86_64_linux_musl": {

View File

@@ -238,6 +238,21 @@ if [[ -n "$(git ls-files '*.yaml')" ]]; then
git ls-files '*.yaml'
fi
# TOML (if exists)
if [[ -n "$(git ls-files '*.toml')" ]]; then
info "checking TOML style"
if [[ ! -e .taplo.toml ]]; then
warn "could not found .taplo.toml in the repository root"
fi
if type -P npm &>/dev/null; then
echo "+ npx -y @taplo/cli fmt \$(git ls-files '*.toml')"
npx -y @taplo/cli fmt $(git ls-files '*.toml')
check_diff $(git ls-files '*.toml')
else
warn "'npm' is not installed; skipped TOML style check"
fi
fi
# Markdown (if exists)
if [[ -n "$(git ls-files '*.md')" ]]; then
info "checking Markdown style"