Skip to content

Commit

Permalink
feat: Add an clang-format check workflow (#5)
Browse files Browse the repository at this point in the history
Use [jidicula/clang-format-action](https://github.com/jidicula/clang-format-action) to automatically check clang-format.
  • Loading branch information
FeignClaims authored May 15, 2024
1 parent 12f0d85 commit cec6e02
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: clang-format-check
on:
pull_request:
push:
tags: "*"
branches:
- main
- develop
workflow_dispatch:

jobs:
Check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run clang-format check
uses: jidicula/[email protected]
with:
clang-format-version: '18'

0 comments on commit cec6e02

Please sign in to comment.