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 May 26, 2022
1 parent 1e28dcb commit b6a1621
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 b6a1621

Please sign in to comment.