diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml
index aaa710163116c42276c5bd077e1dc8725aa446e1..7c181e12e933a5c7d073ff0116c48491fa461906 100644
--- a/.github/workflows/linting.yaml
+++ b/.github/workflows/linting.yaml
@@ -19,7 +19,9 @@ jobs:
           architecture: 'x64'
       - name: find trailing whitespace
         uses: harupy/find-trailing-whitespace@master
-      - name: Install dependencies
+      - name: Run black
+        uses: psf/black@stable
+      - name: Install flake8
         run: |
           python -m pip install --upgrade pip
           pip install flake8