From 3ed7405c8fe0107116201c935381403c55e00e5a Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Wed, 7 Apr 2021 21:14:35 -0400 Subject: [PATCH] chore: Be more pedantic with versions --- .github/workflows/main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 4688c6a..e816e1c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -16,12 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Install General GCC C/C++ Build toolchain + - name: Install clang-format-11 run: | - sudo apt-get install -y --no-install-recommends clang-format-11 - - name: Install General GCC C/C++ Build toolchain + sudo apt-get remove -y --no-install-recommends clang-format-10 && sudo apt-get install -y --no-install-recommends clang-format-11 + - name: Update alternatives run: | - sudo update-alternatives --install /usr/bin/clang-format clang-format "/usr/bin/clang-format-11" 100 + sudo update-alternatives --remove-all clang-format && sudo update-alternatives --install /usr/bin/clang-format clang-format "/usr/bin/clang-format-11" 100 - name: Clang Format run: ./format.sh -d test: