diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml
index d4d418e774088a243d185ba7f3cda5a75cc0527c..3ff0f17d73330dd78a36a104ea890fac5dca4893 100644
--- a/.github/workflows/pre-commit.yaml
+++ b/.github/workflows/pre-commit.yaml
@@ -9,5 +9,5 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
-      - uses: actions/setup-python@v3
+      - uses: actions/setup-python@v4
       - uses: pre-commit/action@v3.0.0