From 3a68ebdffd206e831e3d463da88003fade6c1d99 Mon Sep 17 00:00:00 2001 From: Thomas Schraitle Date: Mon, 25 Nov 2019 09:40:06 +0100 Subject: [PATCH] Fix #203: Use --check option for black (infra) * Remove uploading the diff file as artifact * Use `--check` to test our source code --- .github/workflows/black-formatting.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/black-formatting.yml b/.github/workflows/black-formatting.yml index 83ad2892..25b34f21 100644 --- a/.github/workflows/black-formatting.yml +++ b/.github/workflows/black-formatting.yml @@ -39,11 +39,5 @@ jobs: - name: Run black id: black run: | - black . > project.diff + black --check . echo "::set-output name=rc::$?" - - - name: Upload diff artifact - uses: actions/upload-artifact@v1 - with: - name: black-project-diff - path: project.diff