mirror of
https://github.com/opencontainers/runtime-spec.git
synced 2025-04-18 20:04:01 +03:00
ci: Add a github actions workflow for lint
Signed-off-by: utam0k <k0ma@utam0k.jp>
This commit is contained in:
parent
8cfc4074b2
commit
b37b687479
14
.github/workflows/lint.yml
vendored
Normal file
14
.github/workflows/lint.yml
vendored
Normal file
@ -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
|
@ -226,14 +226,14 @@
|
||||
"properties": {
|
||||
"initial": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9, -]*$"
|
||||
"pattern": "^[0-9, -]*$"
|
||||
},
|
||||
"final": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9, -]*$"
|
||||
"pattern": "^[0-9, -]*$"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"linux": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user