Merge pull request #10119 from NREL/unicode #5746
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 }} |