diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index d8431dc5..6f0f2fed 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -1,14 +1,11 @@ -name: clang-format Check -on: [push, pull_request] +on: push +name: clang-format Code Formatter jobs: - formatting-check: - name: Formatting Check + lint: + name: clang-format Code Formatter runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Run clang-format style check for C++ programs. - uses: jidicula/clang-format-action@v4.11.0 - with: - clang-format-version: '13' - check-path: 'Codigos' - fallback-style: 'Google' # optional + - name: Clang Code Formatter + uses: ivanludvig/clang-format-action@v1.4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}