Use clang 17 in formatting pipeline

This commit is contained in:
Jan 2023-11-19 15:39:37 +01:00
parent 6b4f5d94a8
commit da18710bd0
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C

View File

@ -12,8 +12,13 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "17.0"
- name: Test formatting for all files - name: Test formatting for all files
working-directory: ${{ github.workspace }} working-directory: ${{ github.workspace }}
run: | run: |
export CLANG_FORMAT_BIN='clang-format-15' export CLANG_FORMAT_BIN="${LLVM_PATH}/bin/clang-format"
./scripts/check-format.sh ./scripts/check-format.sh