mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Add job to check GDScript format
This commit is contained in:
parent
5fcc9b0595
commit
95c8974ebf
3 changed files with 17 additions and 0 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -32,5 +32,6 @@
|
||||||
/misc export-ignore
|
/misc export-ignore
|
||||||
/project.godot export-ignore
|
/project.godot export-ignore
|
||||||
/README.md export-ignore
|
/README.md export-ignore
|
||||||
|
/requirements.txt export-ignore
|
||||||
/test export-ignore
|
/test export-ignore
|
||||||
/themes export-ignore
|
/themes export-ignore
|
||||||
|
|
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -311,3 +311,15 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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