mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 08:38:43 +08:00
- 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>
28 lines
558 B
YAML
28 lines
558 B
YAML
name: Check Dart Formatting
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check-dart:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install Dart
|
|
uses: dart-lang/setup-dart@v1
|
|
with:
|
|
sdk: '3.8.1'
|
|
|
|
- name: Check dart format version
|
|
run: |
|
|
dart format --version
|
|
|
|
- name: Format Dart
|
|
run: ./formatters/format-dart.sh
|
|
|
|
- name: Check for changes
|
|
run: |
|
|
git ls-files -m
|
|
if [[ `git ls-files -m` ]]; then echo "Detected Dart formatting errors!" & exit 1; fi |