diff options
| author | Egor Tensin <egor@tensin.name> | 2026-05-17 20:47:02 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-05-17 20:47:02 +0200 |
| commit | 292dfb81d97cc8cb7d1b79536bd89cf0bf3ed7b1 (patch) | |
| tree | c85979d8f6cf13e8bdc903d0f97b90376d79fceb /.github/workflows/ci.yml | |
| parent | requirements.txt: bump dependencies (diff) | |
| download | cgitize-292dfb81d97cc8cb7d1b79536bd89cf0bf3ed7b1.tar.gz cgitize-292dfb81d97cc8cb7d1b79536bd89cf0bf3ed7b1.zip | |
workflows: add Python black linting job
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 14 |
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: |
