From b2a277781ad356c504ab33f752fc6d49c382af0c Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Fri, 25 Jul 2025 23:48:26 +0200 Subject: [PATCH] Remove combined formatting workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use individual language-specific workflows instead 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/format-check.yml | 67 ------------------------------ 1 file changed, 67 deletions(-) delete mode 100644 .github/workflows/format-check.yml diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml deleted file mode 100644 index 5fa7cee1b..000000000 --- a/.github/workflows/format-check.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: Check All Formatting (Combined) - -on: - push: - workflow_dispatch: - -jobs: - check: - runs-on: ubuntu-24.04 - steps: - - - uses: actions/checkout@v3 - - - name: Setup clang-format - run: ./formatters/setup-clang-format-docker.sh - - - name: Install dotnet - uses: actions/setup-dotnet@v3 - with: - dotnet-version: "8.0.x" - - - name: Install Node and dependencies - uses: actions/setup-node@v3 - with: - node-version: "24" - - - name: Install JDK - uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: "16" - - - name: Install Haxe - uses: krdlab/setup-haxe@v1 - with: - haxe-version: '4.3.2' - - run: haxelib install formatter - - - 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 - run: | - ./formatters/format-cpp.sh - ./formatters/format-csharp.sh - ./formatters/format-dart.sh - ./formatters/format-haxe.sh - ./formatters/format-java.sh - ./formatters/format-ts.sh - git diff > format-diff.txt - - - name: Archive formatting result - uses: actions/upload-artifact@v4 - with: - name: format-diff - path: format-diff.txt - - - name: Fail on format changes - run: | - git ls-files -m - if [[ `git ls-files -m` ]]; then echo "Detected formatting errors!" & exit 1; fi \ No newline at end of file