MyModernCppStarter/.github/workflows/style.yml
Lars Melchior 866ae707e5
Enable cmake formatting (#53)
* enable cmake formatting

* update style check workflow

* update readme

* update wording
2020-08-11 11:10:01 +02:00

28 lines
455 B
YAML

name: Style
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Install format dependencies
run: |
brew install clang-format
pip install cmake_format pyyaml
- name: configure
run: cmake -Htest -Bbuild
- name: check style
run: cmake --build build --target check-format