Skip to content

Commit

Permalink
Create clang-format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomarcosth9 authored Jan 2, 2024
1 parent ec743e6 commit 7db5d68
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C++ programs.
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: 'Codigos'
clang-format-style-path: '.clang-format'
fallback-style: 'Google' # optional

0 comments on commit 7db5d68

Please sign in to comment.