Skip to content

Commit

Permalink
ci: add cmake format workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Oct 7, 2024
1 parent c48ab8a commit b26b1b6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/cmake-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run cmake-format linter

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Format CMake files
id: cmake-format
uses: PuneetMatharu/[email protected]
with:
args: --in-place

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: cmake-format-bot
commit_message: 'Automated commit of cmake-format changes.'

0 comments on commit b26b1b6

Please sign in to comment.