Merge pull request #10127 from NREL/revert-10120-9825_CLI #5752
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: clang-format | |
on: | |
push: | |
branches: [ develop ] | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- '*' | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
formatting-check: | |
name: Formatting Check | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
path: | |
- 'src/EnergyPlus' | |
- 'tst/EnergyPlus/unit' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run clang-format style check for C/C++ programs. | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '10' | |
check-path: ${{ matrix.path }} |