Skip to content

add archlinux-build.yaml #4

add archlinux-build.yaml

add archlinux-build.yaml #4

Workflow file for this run

name: CppCheck for C++ Project
on: [push, pull_request]
jobs:
cppcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install cppcheck
run: sudo apt-get update && sudo apt-get install -y cppcheck
- name: Run Cppcheck
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
run: cppcheck --language=c++ .