Skip to content

Commit

Permalink
Merge pull request #1257 from utam0k/ci-lint
Browse files Browse the repository at this point in the history
ci: Add a github actions workflow for lint
  • Loading branch information
tianon authored Dec 11, 2024
2 parents 8cfc407 + b37b687 commit 09fcb39
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions schema/config-schema.json
Original file line number Diff line number Diff line change
@@ -226,14 +226,14 @@
"properties": {
"initial": {
"type": "string",
"pattern": "^[0-9, -]*$"
"pattern": "^[0-9, -]*$"
},
"final": {
"type": "string",
"pattern": "^[0-9, -]*$"
"pattern": "^[0-9, -]*$"
}
}
}
}
}
},
"linux": {

0 comments on commit 09fcb39

Please sign in to comment.