From da18710bd0ba2d79d3964cc77fc981a09fdbad36 Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 19 Nov 2023 15:39:37 +0100 Subject: [PATCH] Use clang 17 in formatting pipeline --- .github/workflows/check-formatting.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-formatting.yaml b/.github/workflows/check-formatting.yaml index 7a1e8f06..ac7198a8 100644 --- a/.github/workflows/check-formatting.yaml +++ b/.github/workflows/check-formatting.yaml @@ -12,8 +12,13 @@ jobs: with: submodules: recursive + - name: Install LLVM and Clang + uses: KyleMayes/install-llvm-action@v1 + with: + version: "17.0" + - name: Test formatting for all files working-directory: ${{ github.workspace }} run: | - export CLANG_FORMAT_BIN='clang-format-15' + export CLANG_FORMAT_BIN="${LLVM_PATH}/bin/clang-format" ./scripts/check-format.sh \ No newline at end of file