update values #7059
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CI - Check Workflow | |
name: Linters | |
on: push | |
jobs: | |
clang_format: | |
name: clang-format | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Install clang-format 17 | |
run: | | |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | |
sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main" | |
sudo apt update -y | |
sudo apt install -y --no-install-recommends clang-format-17 | |
clang-format-17 --version | |
- name: Run clang-format | |
run: | | |
python3 tools/run-clang-format.py --clang-format-executable=clang-format-17 -r --extension=h,hpp,c,cpp --color=always --style=file ./app ./drivers ./libs ./spikes ./tests |