mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
23 lines
499 B
YAML
23 lines
499 B
YAML
name: Lint Plugin Python
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
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: "15"
|
|
check-path: "."
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.10'
|
|
- uses: isort/isort-action@master
|
|
- uses: psf/black@stable
|