Skip to content

Validate TOML Files #16

Validate TOML Files

Validate TOML Files #16

Workflow file for this run

name: Validate TOML Files
on:
push:
paths:
- "**.toml"
- "schemas/schema.json"
workflow_dispatch:
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Validate translations
run: npx --yes @taplo/cli check --schema https://raw.githubusercontent.com/lipu-linku/sona/${{github.event.ref}}/schemas/schema.json#translation ./translations/*.toml
- name: Validate words.toml
run: npx --yes @taplo/cli check --schema https://raw.githubusercontent.com/lipu-linku/sona/${{github.event.ref}}/schemas/schema.json#word ./words/*.toml