From c05ce1947e391364c1ce27214da3d9a8c469d3f9 Mon Sep 17 00:00:00 2001 From: Jakub Kuderski Date: Tue, 14 Dec 2021 11:17:07 -0500 Subject: [PATCH] [CI] Update clang-format to version 11 Match the clang toolchain version used by LLPC CI. --- .github/workflows/check-formatting-cache-creator.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-formatting-cache-creator.yml b/.github/workflows/check-formatting-cache-creator.yml index aca7282c..2391feff 100644 --- a/.github/workflows/check-formatting-cache-creator.yml +++ b/.github/workflows/check-formatting-cache-creator.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Setup environment run: | - sudo apt-get install -yqq clang-format-10 + sudo apt-get install -yqq clang-format-11 - name: Checkout XGL run: | git clone https://github.com/${GITHUB_REPOSITORY}.git . @@ -19,7 +19,7 @@ jobs: - name: Run clang-format run: | git diff ${{ github.base_ref }} -U0 --no-color -- 'tools/cache_creator/**/*.cpp' 'tools/cache_creator/**/*.h' \ - | clang-format-diff-10 -p1 >not-formatted.diff 2>&1 + | clang-format-diff-11 -p1 >not-formatted.diff 2>&1 - name: Check formatting run: | if ! grep -q '[^[:space:]]' not-formatted.diff ; then