Add gdlint checking of template components (#29) #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow to automatically lint gdscript code | |
name: gdlint on push | |
on: | |
[push, pull_request] | |
jobs: | |
gdlint: | |
name: gdlint scripts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install 'gdtoolkit==4.*' | |
- name: Lint Godot XR Template Components | |
run: | | |
gdlint components | |