diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index c1b4ea99066fd..3aeabb036ad58 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -14,11 +14,11 @@ jobs: fetch-depth: 2 - name: Get clang-format first - run: sudo apt-get install -yqq clang-format-9 + run: sudo apt-get install -yqq clang-format-10 - name: Run clang-format for the patch run: | - git diff -U0 --no-color ${GITHUB_SHA}^1 ${GITHUB_SHA} -- | ./clang/tools/clang-format/clang-format-diff.py -p1 -binary clang-format-9 > ./clang-format.patch + git diff -U0 --no-color ${GITHUB_SHA}^1 ${GITHUB_SHA} -- | ./clang/tools/clang-format/clang-format-diff.py -p1 -binary clang-format-10 > ./clang-format.patch # Add patch with formatting fixes to CI job artifacts - uses: actions/upload-artifact@v1