From 59a3c019a4d51321316a0cc869796ca94f76fb9c Mon Sep 17 00:00:00 2001 From: Blender Defender Date: Thu, 25 Jul 2024 15:22:34 +0200 Subject: [PATCH] ci: Move the black formatter workflow to a seperate file --- .github/workflows/ci-black-formatting.yml | 12 ++++++++++++ .github/workflows/ci.yml | 6 ------ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/ci-black-formatting.yml diff --git a/.github/workflows/ci-black-formatting.yml b/.github/workflows/ci-black-formatting.yml new file mode 100644 index 0000000000..f1aafb90a2 --- /dev/null +++ b/.github/workflows/ci-black-formatting.yml @@ -0,0 +1,12 @@ +name: black-formatting + +on: + push: + pull_request: + +jobs: + lint-formatting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: psf/black@stable diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d11c978d20..d5d8f641b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,12 +30,6 @@ 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