Add a simple command API #5104
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Style Checks | |
on: [push, pull_request] | |
jobs: | |
formatting-check: | |
name: Formatting Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: C++ Formatting | |
uses: DoozyX/clang-format-lint-action@v0.16.1 | |
with: | |
source: 'library application python plugins examples' | |
extensions: 'h,cxx,in' | |
exclude: '**/*.py.in' | |
clangFormatVersion: 14 # Last Ubuntu LTS version (22.04) | |
- name: Python Formatting | |
uses: psf/black@stable | |
with: | |
options: "--check --verbose --include '(\\.py|\\.py\\.in)'" | |
src: "./python" | |
codespell-check: | |
name: Codespell Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: codespell-project/actions-codespell@v1.0 | |
with: | |
check_filenames: true | |
check_hidden: true |