mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-15 19:41:36 +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
|
||||
|
||||
on:
|
||||
push:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -51,7 +52,8 @@ jobs:
|
||||
- name: Format
|
||||
run: |
|
||||
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
|
||||
find . -type f -name '*.cs' -exec perl -pi -e 's/\r\n/\n/g' '{}' +
|
||||
git diff
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user