mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +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>
24 lines
489 B
YAML
24 lines
489 B
YAML
name: Check C# Formatting
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check-csharp:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install dotnet
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
dotnet-version: "8.0.x"
|
|
|
|
- name: Format C#
|
|
run: ./formatters/format-csharp.sh
|
|
|
|
- name: Check for changes
|
|
run: |
|
|
git ls-files -m
|
|
if [[ `git ls-files -m` ]]; then echo "Detected C# formatting errors!" & exit 1; fi |