chore: Be more pedantic with versions

main
Sean McBride 4 years ago
parent 70749dcfaa
commit 3ed7405c8f

@ -16,12 +16,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install General GCC C/C++ Build toolchain - name: Install clang-format-11
run: | run: |
sudo apt-get install -y --no-install-recommends clang-format-11 sudo apt-get remove -y --no-install-recommends clang-format-10 && sudo apt-get install -y --no-install-recommends clang-format-11
- name: Install General GCC C/C++ Build toolchain - name: Update alternatives
run: | 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 - name: Clang Format
run: ./format.sh -d run: ./format.sh -d
test: test:

Loading…
Cancel
Save