spine-runtimes/.github/workflows/format-check-haxe.yml
Mario Zechner bc9732f0a1 Split formatting workflow into separate language-specific workflows
- Add individual workflows for C++, C#, Dart, Haxe, Java, and TypeScript
- Each workflow runs independently for faster testing and debugging
- Rename original workflow to indicate it's the combined version

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 23:47:11 +02:00

25 lines
519 B
YAML

name: Check Haxe Formatting
on:
push:
workflow_dispatch:
jobs:
check-haxe:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Install Haxe
uses: krdlab/setup-haxe@v1
with:
haxe-version: '4.3.2'
- run: haxelib install formatter
- name: Format Haxe
run: ./formatters/format-haxe.sh
- name: Check for changes
run: |
git ls-files -m
if [[ `git ls-files -m` ]]; then echo "Detected Haxe formatting errors!" & exit 1; fi