Skip to content

Commit

Permalink
Update formatter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
proh14 authored Oct 12, 2024
1 parent 217c2e3 commit 251a8be
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/formatter.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
on: push
name: clang-format Code Formatter
name: clang-format Check
on: [push, pull_request]
jobs:
lint:
name: clang-format Code Formatter
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- name: Clang Code Formatter
uses: ivanludvig/clang-format-action@v1.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.13.0
with:
clang-format-version: '13'
check-path: 'src'

0 comments on commit 251a8be

Please sign in to comment.