diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2024-01-03 23:10:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-04 00:10:06 +0100 |
commit | eda88bd1707aa1f736cec41b61ed73aa15585271 (patch) | |
tree | 3145d638ced11e1213c21c00e880ac9a950f5ae1 /.github/workflows/ci.yml | |
parent | a59c64becdbd83766fa91ecfdf90295353e8d742 (diff) | |
download | NorthstarLauncher-eda88bd1707aa1f736cec41b61ed73aa15585271.tar.gz NorthstarLauncher-eda88bd1707aa1f736cec41b61ed73aa15585271.zip |
Add cmake format check to CI (#630)
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e0f28f5..e6048a57 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,3 +48,13 @@ jobs: extensions: 'h,cpp' clangFormatVersion: 16 style: file + + format-check-cmake-files: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: puneetmatharu/cmake-format-lint-action@v1.0.4 + with: + args: "--in-place" + - run: | + git diff --exit-code |