mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
Add path filters to format check workflows to reduce unnecessary runs
This commit is contained in:
parent
06fcd9ecdd
commit
09846f8929
16
.github/workflows/format-check-cpp.yml
vendored
16
.github/workflows/format-check-cpp.yml
vendored
@ -2,6 +2,22 @@ name: Check C++ Formatting
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'spine-cpp/**'
|
||||
- 'spine-c/**'
|
||||
- 'spine-godot/**'
|
||||
- 'spine-ue/**'
|
||||
- 'spine-glfw/**'
|
||||
- 'spine-sdl/**'
|
||||
- 'spine-sfml/**'
|
||||
- 'spine-cocos2dx/**'
|
||||
- 'spine-ios/**'
|
||||
- 'spine-flutter/ios/**'
|
||||
- 'spine-flutter/macos/**'
|
||||
- 'spine-flutter/src/**'
|
||||
- 'formatters/.clang-format'
|
||||
- 'formatters/format-cpp.sh'
|
||||
- '.github/workflows/format-check-cpp.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
7
.github/workflows/format-check-csharp.yml
vendored
7
.github/workflows/format-check-csharp.yml
vendored
@ -2,6 +2,13 @@ name: Check C# Formatting
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'spine-csharp/**'
|
||||
- 'spine-monogame/**'
|
||||
- 'spine-unity/**'
|
||||
- 'formatters/.editorconfig'
|
||||
- 'formatters/format-csharp.sh'
|
||||
- '.github/workflows/format-check-csharp.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
4
.github/workflows/format-check-dart.yml
vendored
4
.github/workflows/format-check-dart.yml
vendored
@ -2,6 +2,10 @@ name: Check Dart Formatting
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'spine-flutter/**/*.dart'
|
||||
- 'formatters/format-dart.sh'
|
||||
- '.github/workflows/format-check-dart.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
4
.github/workflows/format-check-haxe.yml
vendored
4
.github/workflows/format-check-haxe.yml
vendored
@ -2,6 +2,10 @@ name: Check Haxe Formatting
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'spine-haxe/**'
|
||||
- 'formatters/format-haxe.sh'
|
||||
- '.github/workflows/format-check-haxe.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
7
.github/workflows/format-check-java.yml
vendored
7
.github/workflows/format-check-java.yml
vendored
@ -2,6 +2,13 @@ name: Check Java Formatting
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'spine-libgdx/**'
|
||||
- 'spine-android/**'
|
||||
- 'formatters/eclipse-formatter.xml'
|
||||
- 'formatters/eclipse-formatter/**'
|
||||
- 'formatters/format-java.sh'
|
||||
- '.github/workflows/format-check-java.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
@ -2,6 +2,13 @@ name: Check TypeScript Formatting
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'spine-ts/**'
|
||||
- 'tests/**/*.ts'
|
||||
- 'tests/tsfmt.json'
|
||||
- 'formatters/tsfmt.json'
|
||||
- 'formatters/format-ts.sh'
|
||||
- '.github/workflows/format-check-typescript.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user