diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41256d6d37d..3290c698776 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,7 +94,7 @@ jobs: id: style-check run: | # check formatting style (C++) - git diff -U0 --no-color ${{ github.base_ref }} ${{ github.head_ref }} | python3 util/clang-format-diff.py -binary clang-format-10 -i -p1 + git diff -U0 --no-color ${{ github.base_ref }} ${{ github.head_ref }} | python3 util/clang-format-diff.py -binary clang-format-12 -i -p1 if ! git diff-index --quiet HEAD; then echo "::set-output name=changed::true" diff --git a/util/clang-format-diff.py b/util/clang-format-diff.py index 2a91ef4992f..722796faf3d 100644 --- a/util/clang-format-diff.py +++ b/util/clang-format-diff.py @@ -91,7 +91,7 @@ def main(): ) parser.add_argument( "-binary", - default="clang-format-10", + default="clang-format-12", help="location of binary to use for clang-format", ) args = parser.parse_args()