Skip to content

Add clang-format to check and format code #1

Add clang-format to check and format code

Add clang-format to check and format code #1

Workflow file for this run

# This workflow checks for compliance with the Google C++ style guide.
name: Codechecks
on: [push, pull_request]
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt install clang-format
- name: Check code format
run: |
mkdir build
cd build
cmake ..
make codecheck