aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-05-17 20:47:02 +0200
committerEgor Tensin <egor@tensin.name>2026-05-17 20:47:02 +0200
commit292dfb81d97cc8cb7d1b79536bd89cf0bf3ed7b1 (patch)
treec85979d8f6cf13e8bdc903d0f97b90376d79fceb /.github/workflows
parentrequirements.txt: bump dependencies (diff)
downloadcgitize-292dfb81d97cc8cb7d1b79536bd89cf0bf3ed7b1.tar.gz
cgitize-292dfb81d97cc8cb7d1b79536bd89cf0bf3ed7b1.zip
workflows: add Python black linting job
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 076e36d..83d230f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,7 +7,21 @@ on:
workflow_dispatch:
jobs:
+ lint:
+ runs-on: ubuntu-latest
+ name: Linting
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+ - name: Set up Python
+ uses: actions/setup-python@v6
+ with:
+ python-version: '3.x'
+ - name: Run black
+ uses: psf/black@stable
+
test_local:
+ needs: [lint]
runs-on: ubuntu-latest
strategy:
matrix: