Skip to content

chore(deps): update pre-commit #304

chore(deps): update pre-commit

chore(deps): update pre-commit #304

Workflow file for this run

name: 🔍 CPP Lint
on:
pull_request:
workflow_dispatch:
permissions:
pull-requests: write
jobs:
cpp-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: CPP Lint
uses: cpp-linter/[email protected]
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
style: file
thread-comments: true
extra-args: -Iinclude/
- name: Fail fast?!
if: steps.linter.outputs.checks-failed > 0
shell: bash
run: |
#!/bin/bash
echo "Some files failed the linting checks!"
# for actual deployment
# exit 1