From 30ab2f1e482f38705504980402bb6a45940c98d3 Mon Sep 17 00:00:00 2001 From: Blender Defender Date: Thu, 18 Jul 2024 16:56:44 +0200 Subject: [PATCH] ci: Add black formatter to `ci.yml` Check, whether the files are formatted properly using the black formatter on push and pull requests. --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5d8f641b4..d11c978d20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,12 @@ jobs: steps: - run: echo ok go + lint-formatting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: psf/black@stable + build: runs-on: ubuntu-latest needs: activate