mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Try to fix dotnet-format on GH.
This commit is contained in:
parent
3c94e429cc
commit
6081af6af0
6
.github/workflows/format-check.yml
vendored
6
.github/workflows/format-check.yml
vendored
@ -1,7 +1,8 @@
|
|||||||
name: Check format
|
name: Check format
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -51,7 +52,8 @@ jobs:
|
|||||||
- name: Format
|
- name: Format
|
||||||
run: |
|
run: |
|
||||||
export CLANGFORMAT=`pwd`/clang/bin/clang-format
|
export CLANGFORMAT=`pwd`/clang/bin/clang-format
|
||||||
export PATH="$PATH:/root/.dotnet/tools"
|
export PATH="$PATH:/root/.dotnet/tools"
|
||||||
|
dotnet-format --version
|
||||||
./formatters/format.sh
|
./formatters/format.sh
|
||||||
find . -type f -name '*.cs' -exec perl -pi -e 's/\r\n/\n/g' '{}' +
|
find . -type f -name '*.cs' -exec perl -pi -e 's/\r\n/\n/g' '{}' +
|
||||||
git diff
|
git diff
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user