Skip to content

Commit

Permalink
Try again with non-sparse and using origin prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachaj committed Dec 6, 2024
1 parent 535819c commit 20e103a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
# Force a non-shallow checkout, so that clang-format can access source history to compare against
# See https://github.com/actions/checkout for more details.
fetch-depth: 0

- name: Find vcvars64.bat
run: |
Expand All @@ -30,7 +34,7 @@ jobs:
exit /b %ERRORLEVEL%
)
git clang-format refs/remotes/origin/master --binary "%CLANG_FORMAT%" --style file -- cppwinrt/*.h cppwinrt/*.cpp fast_fwd/*.h fast_fwd/*.cpp prebuild/*.h prebuild/*.cpp scratch/*.h scratch/*.cpp strings/*.h strings/*.cpp test/*.h test/*.cpp vsix/*.h vsix/*.cpp
git clang-format origin/master --binary "%CLANG_FORMAT%" --style file -- cppwinrt/*.h cppwinrt/*.cpp fast_fwd/*.h fast_fwd/*.cpp prebuild/*.h prebuild/*.cpp scratch/*.h scratch/*.cpp strings/*.h strings/*.cpp test/*.h test/*.cpp vsix/*.h vsix/*.cpp
if %ERRORLEVEL% neq 0 (
echo ::error::This branch contains changes that have not been formatted with 'clang-format',
Expand Down

0 comments on commit 20e103a

Please sign in to comment.