Repository: randyzwitch/streamlit-folium (language: python)

Issue:
Clean up GitHub Actions complaint
In the tests, getting this warning

> Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-python@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/publish_PYPI_each_tag.yml b/.github/workflows/publish_PYPI_each_tag.yml
index 3950a55..8e18628 100644
--- a/.github/workflows/publish_PYPI_each_tag.yml
+++ b/.github/workflows/publish_PYPI_each_tag.yml
@@ -13,9 +13,9 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
     - name: Set up Python
-      uses: actions/setup-python@v2
+      uses: actions/setup-python@v4
       with:
         python-version: '3.x'
     - name: install node
diff --git a/examples/requirements.txt b/examples/requirements.txt
index 604b811..0aba488 100644
--- a/examples/requirements.txt
+++ b/examples/requirements.txt
@@ -1,3 +1,3 @@
 streamlit==1.11.1
-streamlit-folium>=0.8.1
+streamlit-folium>=0.11.1
 requests


Test patch:
diff --git a/.github/workflows/run_tests_each_PR.yml b/.github/workflows/run_tests_each_PR.yml
index dfc2b63..93eb54a 100644
--- a/.github/workflows/run_tests_each_PR.yml
+++ b/.github/workflows/run_tests_each_PR.yml
@@ -17,15 +17,14 @@ jobs:
         python-version: [3.7, 3.8, 3.9]
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v2
+        uses: actions/setup-python@v4
         with:
           python-version: ${{ matrix.python-version }}
-      - name: install node
-        run: |
-          sudo apt install nodejs npm
-          npm --version
+      - uses: actions/setup-node@v3
+        with:
+          node-version: 16
       - name: build streamlit-folium JS
         run: |
           cd streamlit_folium/frontend/