Skip to content

Commit

Permalink
ci: Add Cppcheck workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cpswan committed Nov 30, 2023
1 parent 2fe7fe1 commit 2537570
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Cppcheck
on:
workflow_dispatch:
push:
branches: [trunk]
pull_request:
branches: [trunk]

permissions:
contents: read

jobs:
cppcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Cppcheck
run: |
sudo apt install -y cppcheck
cppcheck .

0 comments on commit 2537570

Please sign in to comment.