Repository: pandas-dev/pandas-stubs (language: python)

Issue:
Update workflows actions to remove Node deprecation warning
**Describe the bug**
Deprecation warnings showing up as we run Github Actions workflow.

![image](https://github.com/user-attachments/assets/19cef56f-9ec1-4f2c-a43f-1bfc77ff21a4)

Github Actions


Discussion / hints:

Fix patch:
diff --git a/.github/setup/action.yaml b/.github/setup/action.yaml
index 2162cee7..34a6764e 100644
--- a/.github/setup/action.yaml
+++ b/.github/setup/action.yaml
@@ -13,7 +13,7 @@ runs:
   using: composite
   steps:
     - name: Set up Python
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: ${{ inputs.python-version }}
 
@@ -27,7 +27,7 @@ runs:
       id: poetry_version
 
     - name: Cache poetry.lock
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       with:
         path: poetry.lock
         key: ${{ inputs.os }}-${{ inputs.python-version }}-poetry-${{ steps.poetry_version.outputs.VERSION }}-${{ hashFiles('pyproject.toml') }}


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b04329fc..34b27a51 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -24,7 +24,7 @@ jobs:
     name: OS ${{ matrix.os }} - Python ${{ matrix.python-version }}
 
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
 
       - name: Install project dependencies
         uses: ./.github/setup
@@ -49,6 +49,6 @@ jobs:
     timeout-minutes: 10
 
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
 
       - uses: pre-commit/action@v3.0.0