Skip to content

v43

v43 #36

Workflow file for this run

# Workflow syntax:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: c-linter
on: [push, pull_request]
jobs:
c-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shenxianpeng/cpp-linter-action@master
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# The C code is in the ext directory
repo-root: ext
- name: Fail fast?!
if: steps.linter.outputs.checks-failed > 0
run: |
echo "Some files failed the linting checks!"
# for actual deployment
# run: exit 1