mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-24 10:20:24 +01:00
Add job to check GDScript format
This commit is contained in:
parent
4a24c762a9
commit
26871a07ac
3 changed files with 17 additions and 0 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -32,5 +32,6 @@
|
|||
/misc export-ignore
|
||||
/project.godot export-ignore
|
||||
/README.md export-ignore
|
||||
/requirements.txt export-ignore
|
||||
/test export-ignore
|
||||
/themes export-ignore
|
||||
|
|
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -311,3 +311,15 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
check-code-format:
|
||||
name: 'Check Code Format'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: GDFormat Check
|
||||
run: |
|
||||
python -m pip install -r requirements.txt
|
||||
gdformat -c .
|
||||
|
|
4
requirements.txt
Normal file
4
requirements.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
docopt==0.6.2
|
||||
gdtoolkit==3.3.1
|
||||
lark-parser==0.8.0
|
||||
PyYAML==6.0
|
Loading…
Reference in a new issue