summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDavid Knaack <davidkna@users.noreply.github.com>2022-06-15 23:30:30 +0200
committerGitHub <noreply@github.com>2022-06-15 23:30:30 +0200
commit09bbea81977beb94f5428e3e4e784a581afe7921 (patch)
treecc1b35d640ae0e54a3293e09a10f3627be4a21aa /.github
parentb8cbd7748c2ca93ece5985cb09eba941890b727b (diff)
ci: check if presets files follow config schema (#4060)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format-workflow.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/format-workflow.yml b/.github/workflows/format-workflow.yml
index 5f41ae234..08428bd87 100644
--- a/.github/workflows/format-workflow.yml
+++ b/.github/workflows/format-workflow.yml
@@ -16,6 +16,18 @@ jobs:
- name: Docs | Format
uses: dprint/check@v2.0
+ # Validate preset files
+ taplo:
+ name: Taplo [Preset schema validation]
+ runs-on: ubuntu-latest
+ steps:
+ - name: Setup | Checkout
+ uses: actions/checkout@v3
+ - name: Install | Taplo
+ run: cargo install --debug --locked --version 0.6.3 taplo-cli
+ - name: Presets | Validate with schema
+ run: taplo lint --schema "file://${GITHUB_WORKSPACE}/.github/config-schema.json" docs/.vuepress/public/presets/toml/*.toml
+
# If this is not a Crowdin PR, block changes to translated documentation
block-crowdin:
name: Block Translated Changes