Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

add github actions and reformat #1

add github actions and reformat

add github actions and reformat #1

Workflow file for this run

name: Godot Lint and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10' # specify your preferred Python version
- name: Install gdtoolkit
run: |
pip install gdtoolkit
- name: Lint GDScript
run: |
gdlint .
- name: Format Check GDScript
run: |
gdformat .
- name: Set up Godot
uses: firebelley/setup-godot@v1
with:
godot-version: '4.3' # specify the version of Godot you are using
- name: Run Godot tests
run: |
godot --headless --no-window --path . -s res://addons/gut/gut_cmdln.gd -d -gdir=res://tests -gexit