Skip to content

Commit

Permalink
Add github action to check the code style
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkTed committed Jun 7, 2022
1 parent fb4a4ca commit 729c17b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/clang-format-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: clang_format_ubuntu

on: [push, pull_request]

jobs:

clang-format-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: RafikFarhad/clang-format-github-action@master
with:
sources: "src/**/*.h,src/**/*.h.in,src/**/*.c"
style: file

0 comments on commit 729c17b

Please sign in to comment.