From 1cbc90f2a75abb9ce0793316672fd7e556e8220f Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Wed, 7 Apr 2021 21:09:36 -0400 Subject: [PATCH] chore: Validate with clang-format 11 --- .github/workflows/main.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index d53f069..aacc33f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -16,6 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Install General GCC C/C++ Build toolchain + run: | + sudo apt-get install -y --no-install-recommends clang-format-11 + - name: Install General GCC C/C++ Build toolchain + run: | + sudo update-alternatives --install /usr/bin/clang-format clang-format "/usr/bin/clang-format-11 100 - name: Clang Format run: ./format.sh -d test: