From 271c891579f5dbb8070b0235fecb621489ac80b2 Mon Sep 17 00:00:00 2001 From: Ihar Hubchyk Date: Thu, 2 Nov 2023 21:33:49 +0800 Subject: [PATCH] Fix clang-format failure --- .github/workflows/github_action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_action.yml b/.github/workflows/github_action.yml index 8a0b87f6..8f14539e 100644 --- a/.github/workflows/github_action.yml +++ b/.github/workflows/github_action.yml @@ -80,8 +80,8 @@ jobs: fetch-depth: 50 - name: Setup clang-format run: | - sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-12 100 - sudo update-alternatives --install /usr/bin/clang-format-diff clang-format-diff /usr/bin/clang-format-diff-12 100 + sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-14 100 + sudo update-alternatives --install /usr/bin/clang-format-diff clang-format-diff /usr/bin/clang-format-diff-14 100 - name: Check code format run: | bash script/check_code_format.sh