Add workflow to run clang-format.

This commit is contained in:
Mikaël Capelle
2023-07-09 17:03:11 +02:00
parent e6190bf4f7
commit 1bc51b6626
2 changed files with 17 additions and 1 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
name: Build Plugin Python
on: [push]
on:
push:
branches: master
pull_request:
types: [opened, reopened]
jobs:
build:
runs-on: windows-2022
+12
View File
@@ -0,0 +1,12 @@
name: Lint Plugin Python
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: "13"
check-path: "."