Add job to check GDScript format

This commit is contained in:
Leroy Hopson 2022-04-23 15:49:39 +07:00
parent 5fcc9b0595
commit 95c8974ebf
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
3 changed files with 17 additions and 0 deletions

View file

@ -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 .