Skip to content

Commit 53f71e9

Browse files
committed
avoid using the 3rd party workflow plugin
1 parent 165e9aa commit 53f71e9

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/pythonFormatting.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,17 @@ jobs:
4040
- name: Checkout Repository
4141
uses: actions/checkout@v4
4242

43-
- name: Black Code Formatter
44-
uses: psf/black@stable
43+
- name: Setup Python
44+
uses: actions/setup-python@v5
4545
with:
46-
options: "--check --exclude operator/algorithm"
47-
src: "src/main/python/systemds src/main/python/tests"
46+
python-version: '3.x'
47+
48+
- name: Install Black
49+
run: |
50+
pip install --upgrade pip
51+
pip install black
52+
53+
- name: Run Black Check
54+
run: |
55+
black --check --exclude operator/algorithm \
56+
src/main/python/systemds src/main/python/tests

0 commit comments

Comments
 (0)