aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-18 15:21:12 +0200
committerEgor Tensin <egor@tensin.name>2026-06-18 15:21:12 +0200
commit0eab2fb9fd2006356c12830145fac067f64f7f8a (patch)
tree0af5847aee651c27bfa9f9aa924f5cf1600ed790 /.github/workflows
parentMerge pull request #9 from egor-tensin/dependabot/docker/alpine-3.24 (diff)
downloadcimple-0eab2fb9fd2006356c12830145fac067f64f7f8a.tar.gz
cimple-0eab2fb9fd2006356c12830145fac067f64f7f8a.zip
workflows/ci: add Python linting
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7dfa818..bbd66de 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -24,6 +24,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: