mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
Add debugging information to dart format check workflow
This commit is contained in:
parent
2789f62692
commit
c95341ec2b
23
.github/workflows/format-check-dart.yml
vendored
23
.github/workflows/format-check-dart.yml
vendored
@ -18,6 +18,29 @@ jobs:
|
||||
- name: Check dart format version
|
||||
run: |
|
||||
dart format --version
|
||||
|
||||
- name: Debug environment
|
||||
run: |
|
||||
echo "=== System Info ==="
|
||||
uname -a
|
||||
echo "=== Dart Info ==="
|
||||
dart --version
|
||||
which dart
|
||||
echo "=== Current Directory ==="
|
||||
pwd
|
||||
echo "=== Git Config ==="
|
||||
git config --list | grep -E "(core\.|user\.)" || true
|
||||
echo "=== Line endings config ==="
|
||||
git config core.autocrlf || echo "not set"
|
||||
git config core.eol || echo "not set"
|
||||
echo "=== Check .gitattributes ==="
|
||||
if [ -f .gitattributes ]; then cat .gitattributes; else echo "No .gitattributes"; fi
|
||||
echo "=== Sample Dart file (first 5) ==="
|
||||
find . -name "*.dart" -not -path "*/.*" | head -5 | while read f; do
|
||||
echo "File: $f"
|
||||
file "$f"
|
||||
od -c "$f" | head -2
|
||||
done
|
||||
|
||||
- name: Format Dart
|
||||
run: ./formatters/format-dart.sh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user