Skip to content

Commit

Permalink
Merge pull request #6 from h0tw1r3/workflows
Browse files Browse the repository at this point in the history
add cpp-linter to workflow
  • Loading branch information
h0tw1r3 committed Apr 22, 2024
2 parents 7b51974 + 538d220 commit 2ffaf95
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/qa.yaml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
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 -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
thread-comments: false
cache: true

0 comments on commit 2ffaf95

Please sign in to comment.