diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..fd0252ea5 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,14 @@ +name: Lint + +on: [push, pull_request] + +jobs: + check-format: + runs-on: ubuntu-24.04 + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Run make -C schema fmt + run: make -C schema fmt + - name: Check for changes + run: git diff --exit-code diff --git a/schema/config-schema.json b/schema/config-schema.json index cb74342f2..5124def5f 100644 --- a/schema/config-schema.json +++ b/schema/config-schema.json @@ -226,14 +226,14 @@ "properties": { "initial": { "type": "string", - "pattern": "^[0-9, -]*$" + "pattern": "^[0-9, -]*$" }, "final": { "type": "string", - "pattern": "^[0-9, -]*$" + "pattern": "^[0-9, -]*$" } } - } + } } }, "linux": {