Skip to content

Cover missed ~Queue() + free --> delete #2542

Cover missed ~Queue() + free --> delete

Cover missed ~Queue() + free --> delete #2542

# Workflow syntax:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: cpp-linter
on:
push:
paths-ignore: "docs/**"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
cpp-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install clang
run: sudo apt install clang-11 --install-suggests
- uses: shenxianpeng/cpp-linter-action@master
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
style: file
version: 11
files-changed-only: true
lines-changed-only: true
extensions: 'cc,hh'
tidy-checks: 'readability-identifier-naming'
- name: Fail fast?!
if: steps.linter.outputs.checks-failed > 0
run: exit 1