17 lines
637 B
YAML
17 lines
637 B
YAML
name: Validate Project
|
|
on: [push, pull_request]
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install Godot stable
|
|
run: |
|
|
wget -q https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_linux.x86_64.zip
|
|
unzip -qq *.zip -d /tmp/godot-install/
|
|
sudo cp "/tmp/godot-install/Godot v4.3-stable/Godot_v4.3-stable_linux.x86_64" /usr/local/bin/godot
|
|
chmod +x /usr/local/bin/godot
|
|
- name: Check project opens cleanly headless
|
|
run: |
|
|
godot --headless --path . 2>&1 | tee editor.log || true
|