From 8ecd242936ed23a042e90429d3a056b44e37be01 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 17 May 2026 11:43:36 +0200 Subject: workflows: add CI workflow --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..497021c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + 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 + with: + # https://black.readthedocs.io/en/stable/integrations/github_actions.html#cli-options + # Please note that the --check flag is required so that the workflow fails if Black finds files that need to be formattedPlease note that the --check flag is required so that the workflow fails if Black finds files that need to be formatted. + # ^^^ I don't even have words for this. + options: --skip-string-normalization --check -- cgit v1.3