From a0dad39326705b7334cfde32cc919aaecc4585c7 Mon Sep 17 00:00:00 2001 From: Jamie Wilkinson Date: Mon, 22 Nov 2021 13:50:30 +1100 Subject: [PATCH] Add clang-format linter to the CI. --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7291ef9..df74f9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,3 +26,11 @@ jobs: run: make all - name: test run: make check + + fmt: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: RafikFarhad/clang-format-github-action@v1.0.1 + with: + style: "Google"