Add support for FreeBSD #23
Workflow file for this run
This file contains hidden or 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: Format | |
# Checks for whether CMakeLists.txt is formatted. Fails | |
# pipeline if misformatted. | |
# To format, run % cmake-format --in-place CMakeLists.txt | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: ["main", "develop"] | |
paths: ["CMakeLists.txt"] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run cmake-format | |
uses: PuneetMatharu/cmake-format-lint-action@a7e22edff1347b154dc1a0e8f900c450303efdf7 | |
with: | |
args: --enable-markup --check |