diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 11721fd8c..6914b93c5 100755
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -11,7 +11,9 @@ jobs:
         uses: actions/setup-python@v4
         with:
           python-version: '3.9'
-      - name: Install specific version of Black
-        run: pip install black==23.9.1
-      - name: Run Black
-        run: black --line-length=240 ./
\ No newline at end of file
+      - name: Install pre-commit hook
+        run: |
+          python -m pip install pre-commit
+          pre-commit install
+      - name: Linting
+        run: pre-commit run --all-files
\ No newline at end of file