Skip to content

Commit 09fcb39

Browse files
authored
Merge pull request #1257 from utam0k/ci-lint
ci: Add a github actions workflow for lint
2 parents 8cfc407 + b37b687 commit 09fcb39

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/lint.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
check-format:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
- name: Run make -C schema fmt
12+
run: make -C schema fmt
13+
- name: Check for changes
14+
run: git diff --exit-code

schema/config-schema.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,14 @@
226226
"properties": {
227227
"initial": {
228228
"type": "string",
229-
"pattern": "^[0-9, -]*$"
229+
"pattern": "^[0-9, -]*$"
230230
},
231231
"final": {
232232
"type": "string",
233-
"pattern": "^[0-9, -]*$"
233+
"pattern": "^[0-9, -]*$"
234234
}
235235
}
236-
}
236+
}
237237
}
238238
},
239239
"linux": {

0 commit comments

Comments
 (0)