diff --git a/.github/workflows/check-formatting.yaml b/.github/workflows/check-formatting.yaml index 7a1e8f061..cc1618306 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}/clang-format" ./scripts/check-format.sh \ No newline at end of file