Skip to content

Commit

Permalink
add cpp-linter to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed Apr 22, 2024
1 parent 7b51974 commit d648779
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "QA"

on:
Expand All @@ -9,11 +10,30 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
DEBIAN_FRONTEND: noninteractive
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
Shellcheck:
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 -qq 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
files-changed-only: false
cache: true

0 comments on commit d648779

Please sign in to comment.