Skip to content

Commit

Permalink
Create cpp-lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aarikpokras authored Dec 12, 2024
1 parent 7a7d0d8 commit 9c16f05
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cpp-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "C++ Lint"

on:
push:
branches: [ "master" ]
paths:
- ".github/workflows/**"
- "lib/**"
pull_request:
branches: [ "master" ]

jobs:
lint:

runs-on: ubuntu-latest

steps:
- name: Install cpplint
run: pip install cpplint
- uses: actions/checkout@v4
- name: Lint with cpplint
run: cpplint lib/*/*

0 comments on commit 9c16f05

Please sign in to comment.