mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +08:00
Set autocrlf before checking out repo.
This commit is contained in:
parent
3395fac710
commit
c89e01df18
3
.github/workflows/format-check.yml
vendored
3
.github/workflows/format-check.yml
vendored
@ -8,6 +8,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- run: git config --global core.autocrlf input
|
||||||
|
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Install OS dependencies (needed for act on ubuntu-latest)
|
- name: Install OS dependencies (needed for act on ubuntu-latest)
|
||||||
@ -53,7 +55,6 @@ jobs:
|
|||||||
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"
|
||||||
./formatters/format.sh
|
./formatters/format.sh
|
||||||
git config --global core.autocrlf input
|
|
||||||
git diff > format-diff.txt
|
git diff > format-diff.txt
|
||||||
|
|
||||||
- name: Archive formatting result
|
- name: Archive formatting result
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user