Lock clang-format version (#158)

* install clang-format using pip

* update readme to include note on installation of format dependencies
This commit is contained in:
Lars Melchior 2022-10-04 12:25:58 +02:00 committed by GitHub
parent d5fc3051a5
commit 79f4345a26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -15,7 +15,7 @@ env:
jobs:
build:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -26,9 +26,7 @@ jobs:
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: Install format dependencies
run: |
brew install clang-format
pip3 install cmake_format==0.6.11 pyyaml
run: pip3 install clang-format==14.0.6 cmake_format==0.6.11 pyyaml
- name: configure
run: cmake -Stest -Bbuild