13 Commits

Author SHA1 Message Date
Mario Zechner
254c586beb Ignore GeneratedPluginRegistrant files when checking for format changes
These are auto-generated files that can change when running flutter pub get
and shouldn't fail the formatting check.
2025-08-28 14:49:20 +02:00
Mario Zechner
c26c163d73 Switch to flutter-actions/setup-flutter@v4 with Flutter 3.32.6
Matches local Flutter version to ensure consistent dart formatting
2025-08-28 14:44:07 +02:00
Mario Zechner
d101de294d Use Flutter SDK instead of standalone Dart to resolve packages
The issue is that the Dart packages reference Flutter SDK, so we need
Flutter installed to properly resolve dependencies and avoid formatting
differences.
2025-08-28 14:37:24 +02:00
Mario Zechner
1c1ddebe7e Fix path for dart pub get - needs to run in spine-flutter directory 2025-08-28 14:32:21 +02:00
Mario Zechner
edebabe5a4 Simplify fix: use dart pub get to resolve packages before formatting
The issue was that dart format applies different rules when it can't resolve
analysis_options.yaml dependencies. Using dart pub get (instead of flutter pub get)
avoids needing to install Flutter SDK in CI.
2025-08-28 14:29:53 +02:00
Mario Zechner
6cfffdf52e Fix dart formatting issue by installing Flutter and resolving packages
The formatting discrepancy was caused by missing Flutter packages in CI.
When analysis_options.yaml references flutter_lints but packages aren't resolved,
dart format uses different formatting rules than when packages are available.
2025-08-28 14:27:18 +02:00
Mario Zechner
f2997e5c13 Add more debugging to understand dart format behavior 2025-08-28 14:25:01 +02:00
Mario Zechner
c95341ec2b Add debugging information to dart format check workflow 2025-08-28 14:21:35 +02:00
Mario Zechner
2789f62692 Run dart formatting check on macOS runner
Same Dart formatter version produces different results on macOS and Linux ...
2025-08-28 14:15:44 +02:00
Mario Zechner
db98c15e9b [workflows] Fix upload-artifact version to v4 2025-07-31 21:34:22 +02:00
Mario Zechner
106c39d0af [workflows] Add diff artifact to dart format check for debugging 2025-07-31 21:32:13 +02:00
Mario Zechner
86f888b1fc [workflows] Fix dart format check workflow - use && instead of & 2025-07-31 21:28:31 +02:00
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