mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Set autocrlf before checking out repo.
This commit is contained in:
parent
3395fac710
commit
c89e01df18
5
.github/workflows/format-check.yml
vendored
5
.github/workflows/format-check.yml
vendored
@ -8,6 +8,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- run: git config --global core.autocrlf input
|
||||
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Install OS dependencies (needed for act on ubuntu-latest)
|
||||
@ -52,8 +54,7 @@ jobs:
|
||||
run: |
|
||||
export CLANGFORMAT=`pwd`/clang/bin/clang-format
|
||||
export PATH="$PATH:/root/.dotnet/tools"
|
||||
./formatters/format.sh
|
||||
git config --global core.autocrlf input
|
||||
./formatters/format.sh
|
||||
git diff > format-diff.txt
|
||||
|
||||
- name: Archive formatting result
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user