Skip to content

add cpp-linter to workflow #5

add cpp-linter to workflow

add cpp-linter to workflow #5

Workflow file for this run

---
name: "QA"
on:
pull_request:
branches:
- "main"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DEBIAN_FRONTEND: noninteractive
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-shellcheck@v1
with:
check_all_files_with_shebangs: "true"
- name: configure
run: |
sudo apt-get install -y libgdbm-dev libpam-dev
autoreconf -fi
./configure
- uses: h0tw1r3/cpp-linter-action@python-cache
id: cpplinter
with:
version: '14'
style: 'file'
tidy-checks: ''
tidy-review: true
format-review: true
cache: true