Clean the yml script
CI / Export Windows (push) Failing after 43s
CI / Export Linux (push) Failing after 1m4s
CI / Export Android (push) Failing after 55s
Test Suite / Unit Tests (GUT) (push) Failing after 39s
Test Suite / Integration Tests (push) Failing after 46s
Test Suite / Code Style Check (push) Failing after 46s
CI / Create Release (push) Has been skipped
Test Suite / Security Scan (push) Failing after 1m1s

This commit is contained in:
2026-07-02 16:40:52 +08:00
parent 82763e4d5a
commit e539a862d5
9 changed files with 208 additions and 142 deletions
+3 -26
View File
@@ -13,11 +13,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Setup SSH config for Gitea
run: |
mkdir -p ~/.ssh
echo -e "Host gitea\n HostName 100.79.174.108\n Port 222\n StrictHostKeyChecking no" > ~/.ssh/config
- name: Checkout repository
uses: actions/checkout@v4
with:
@@ -45,11 +40,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Setup SSH config for Gitea
run: |
mkdir -p ~/.ssh
echo -e "Host gitea\n HostName 100.79.174.108\n Port 222\n StrictHostKeyChecking no" > ~/.ssh/config
- name: Checkout repository
uses: actions/checkout@v4
with:
@@ -78,24 +68,17 @@ jobs:
# Start server in background
./build/tekton_server.x86_64 --headless --port 7777 &
SERVER_PID=$!
trap 'kill $SERVER_PID 2>/dev/null' EXIT
sleep 5
# Run client tests against server
godot --headless -d --path . -s addons/gut/gut_cmdln.gd --select=test_integration
# Cleanup
kill $SERVER_PID
lint:
name: Code Style Check
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Setup SSH config for Gitea
run: |
mkdir -p ~/.ssh
echo -e "Host gitea\n HostName 100.79.174.108\n Port 222\n StrictHostKeyChecking no" > ~/.ssh/config
- name: Checkout repository
uses: actions/checkout@v4
with:
@@ -109,21 +92,15 @@ jobs:
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
chmod +x /usr/local/bin/godot
- name: Check GDScript formatting
- name: Check GDScript syntax
run: |
godot --headless --check-only -s scripts/lint.gd || true
# Note: GDScript doesn't have a built-in formatter; this checks syntax only
godot --headless -s scripts/lint.gd
security-scan:
name: Security Scan
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Setup SSH config for Gitea
run: |
mkdir -p ~/.ssh
echo -e "Host gitea\n HostName 100.79.174.108\n Port 222\n StrictHostKeyChecking no" > ~/.ssh/config
- name: Checkout repository
uses: actions/checkout@v4
with: