Changes required now that environment return const shared pointers fo… #2590
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CMake-Format | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
schedule: | |
- cron: '0 5 * * *' | |
jobs: | |
cmake_format: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run CMake Lang Format Check | |
run: | | |
sudo pip3 install cmakelang | |
./.run-cmake-format | |
output=$(git diff) | |
if [ -n "$output" ]; then exit 1; else exit 0; fi |