Skip to content

Delete .github/workflows/clang-format-check.yml #2

Delete .github/workflows/clang-format-check.yml

Delete .github/workflows/clang-format-check.yml #2

Workflow file for this run

name: cpp-linter
on:
push:
branches: [ "main" ]
paths: ['**.h', '**.hpp', '**.m', '**.mm', '**.c', **.cpp']

Check failure on line 5 in .github/workflows/cpp-linter.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cpp-linter.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
pull_request:
branches: [ "main" ]
paths: ['**.h', '**.hpp', '**.m', '**.mm', '**.c', **.cpp']
permissions:
contents: read
jobs:
cpp-linter:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: cpp-linter
uses: cpp-linter/cpp-linter-action@v2
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
style: 'file'
tidy-checks: '-*'
thread-comments: ${{ github.event_name == 'pull_request' && 'update' }}
- name: Fail fast?!
if: steps.linter.outputs.checks-failed > 0
run: exit 1