Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: GDScript Linter

on:
pull_request:
push:
branches: [ main, develop ]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout código
uses: actions/checkout@v4

- name: Instalar Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"

- name: Instalar gdtoolkit (gdlint/gdformat)
run: |
python -m pip install --upgrade pip
python -m pip install "gdtoolkit==4.*"

- name: Comprobar formato
run: gdformat --check .

- name: Ejecutar linter
run: gdlint .
Loading