mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 08:05:45 +00:00
Use clang 17 in formatting pipeline
This commit is contained in:
parent
6b4f5d94a8
commit
da18710bd0
7
.github/workflows/check-formatting.yaml
vendored
7
.github/workflows/check-formatting.yaml
vendored
@ -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
|
Loading…
x
Reference in New Issue
Block a user