Skip to content

Commit 8169c12

Browse files
tomschrscls19fr
authored andcommitted
Fix python-semver#203: Use --check option for black (infra) (python-semver#204)
* Remove uploading the diff file as artifact * Use `--check` to test our source code
1 parent dfc2270 commit 8169c12

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/black-formatting.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,5 @@ jobs:
3939
- name: Run black
4040
id: black
4141
run: |
42-
black . > project.diff
42+
black --check .
4343
echo "::set-output name=rc::$?"
44-
45-
- name: Upload diff artifact
46-
uses: actions/upload-artifact@v1
47-
with:
48-
name: black-project-diff
49-
path: project.diff

0 commit comments

Comments
 (0)