Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/check-toml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Check TOML files

# spell-checker:ignore (people) taiki-e
# spell-checker:ignore (misc) taplo tombi

on:
push:
paths:
- "**.toml"
pull_request:
paths:
- "**.toml"

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install Tombi
uses: tombi-toml/setup-tombi@v1
- name: Install taplo-cli
uses: taiki-e/install-action@v2
with:
tool: taplo-cli
- name: Lint TOML files
run: tombi lint --error-on-warnings
- name: Format TOML files
run: taplo fmt --check --diff
17 changes: 0 additions & 17 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,23 +187,6 @@ jobs:
S=$(cspell ${CSPELL_CFG_OPTION} --no-summary --no-progress .) && printf "%s\n" "$S" || { printf "%s\n" "$S" ; printf "%s" "$S" | sed -E -n "s/^(.*):([0-9]+):([0-9]+) - Unknown word \(([^)]+)\).*$/::${fault_type} file=\1,line=\2,col=\3::${fault_type^^}: \`cspell\`: Unknown word '\4' (file:'\1', line:\2)/p" ; fault=true ; true ; }
if [ -n "${{ steps.vars.outputs.FAIL_ON_FAULT }}" ] && [ -n "$fault" ]; then exit 1 ; fi

toml_format:
name: Style/toml
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v6
with:
persist-credentials: false

- name: Install taplo-cli
uses: taiki-e/install-action@v2
with:
tool: taplo-cli

- name: Check
run: taplo fmt --check --diff

python:
name: Style/Python
runs-on: ubuntu-latest
Expand Down
Loading