mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Add workflow to run clang-format.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: "."
|
||||
Reference in New Issue
Block a user