diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-18 15:27:01 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-18 15:36:36 +0200 |
| commit | 97ea96fe178b0e50e9fbfd3bd59f144c400753bc (patch) | |
| tree | 30c898b4a17c55e54c7bf831b93371648d22d8fc /.github/workflows | |
| parent | upgrade cmake-common (diff) | |
| download | math-server-97ea96fe178b0e50e9fbfd3bd59f144c400753bc.tar.gz math-server-97ea96fe178b0e50e9fbfd3bd59f144c400753bc.zip | |
workflows/ci: add Python linting
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/ci.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55283e1..2009740 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 - with: - submodules: recursive - name: Set up clang-format uses: egor-tensin/setup-clang@v2 with: @@ -23,6 +21,16 @@ jobs: uses: egor-tensin/clang-format@v1 with: version: 22 + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: '3.x' + - name: Run black + uses: psf/black@stable + with: + # > Please note that the --check flag is required so that the + # > workflow fails if Black finds files that need to be formatted. + options: --check --verbose --skip-string-normalization build: strategy: |
