Skip to content

ci: Update Linter & add Linter badge #21

ci: Update Linter & add Linter badge

ci: Update Linter & add Linter badge #21

Workflow file for this run

name: cpp-linter
on: [push, pull_request]
jobs:
cpp-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cpp-linter/cpp-linter-action@main
id: linter
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
style: ''
files-changed-only: false
ignore: crypto
- name: Fail fast?!
if: steps.linter.outputs.checks-failed != 0
run: |
echo "some linter checks failed. ${{ steps.linter.outputs.checks-failed }}"
# for actual deployment
# run: exit 1