Compare commits

...

3 Commits

Author SHA1 Message Date
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
4 changed files with 46 additions and 3 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,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [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 +1797,8 @@ 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.7...HEAD
[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

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