- Forked from Godot Engine 4.7-dev (MIT License) - Rebranded to AeThex Engine with cyan/purple theme - Added AI-powered development assistant module - Integrated Claude API for code completion & error fixing - Custom hexagon logo and branding - Multi-platform CI/CD (Windows, Linux, macOS) - Built Linux editor binary (151MB) - Complete source code with all customizations Tech Stack: - C++ game engine core - AI Module: Claude 3.5 Sonnet integration - Build: SCons, 14K+ source files - License: MIT (Godot) + Custom (AeThex features) Ready for Windows build via GitHub Actions!
38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
name: 📊 Static Checks
|
|
on:
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
static-checks:
|
|
name: Code style, file formatting, and docs
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 30
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 2
|
|
|
|
# This needs to happen before Python and npm execution; it must happen before any extra files are written.
|
|
- name: .gitignore checks (gitignore_check.sh)
|
|
run: |
|
|
bash ./misc/scripts/gitignore_check.sh
|
|
|
|
# Keep in sync with linux_builds.yml
|
|
- name: Get changed files
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
if [ "${{ github.event_name }}" == "pull_request" ]; then
|
|
files=$(git diff-tree --no-commit-id --name-only -r HEAD^1..HEAD 2> /dev/null || true)
|
|
elif [ "${{ github.event_name }}" == "push" -a "${{ github.event.forced }}" == "false" -a "${{ github.event.created }}" == "false" ]; then
|
|
files=$(git diff-tree --no-commit-id --name-only -r ${{ github.event.before }}..${{ github.event.after }} 2> /dev/null || true)
|
|
fi
|
|
files=$(echo "$files" | xargs -I {} sh -c 'echo "\"./{}\""' | tr '\n' ' ')
|
|
echo "CHANGED_FILES=$files" >> $GITHUB_ENV
|
|
|
|
- name: Style checks via pre-commit
|
|
uses: pre-commit/action@v3.0.1
|
|
with:
|
|
extra_args: --files ${{ env.CHANGED_FILES }}
|