Repository: tableau/server-client-python (language: python)

Issue:
Update node in actions

Sends a message to Slack when a push, a pull request or an issue is made

The following actions uses node12 which is deprecated and will be forced to run on node16: archive/github-actions-slack@v2.2.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
--


Annotations
2 warnings
[Sends a message to Slack when a push, a pull request or an issue is made](https://github.com/tableau/server-client-python/actions/runs/7430275922/job/20219771628)
The following actions uses node12 which is deprecated and will be forced to run on node16: archive/github-actions-slack@v2.2.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml
index e153c1fc7..70bc845e9 100644
--- a/.github/workflows/code-coverage.yml
+++ b/.github/workflows/code-coverage.yml
@@ -16,10 +16,10 @@ jobs:
     runs-on: ${{ matrix.os }}
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.python-version }}
 
diff --git a/.github/workflows/meta-checks.yml b/.github/workflows/meta-checks.yml
index 7d6cd068a..41a944e63 100644
--- a/.github/workflows/meta-checks.yml
+++ b/.github/workflows/meta-checks.yml
@@ -13,10 +13,10 @@ jobs:
     runs-on: ${{ matrix.os }}
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.python-version }}
 
diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml
index 330bfe7d3..cae0f409c 100644
--- a/.github/workflows/publish-pypi.yml
+++ b/.github/workflows/publish-pypi.yml
@@ -14,10 +14,10 @@ jobs:
     name: Build dist files for PyPi
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
           fetch-depth: 0
-      - uses: actions/setup-python@v4
+      - uses: actions/setup-python@v5
         with:
           python-version: 3.9
       - name: Build dist files
diff --git a/.github/workflows/slack.yml b/.github/workflows/slack.yml
index b11f4009a..2ecb0be7f 100644
--- a/.github/workflows/slack.yml
+++ b/.github/workflows/slack.yml
@@ -10,7 +10,7 @@ jobs:
     steps:
       - name: Send message to Slack API
         continue-on-error: true
-        uses: archive/github-actions-slack@v2.2.2
+        uses: archive/github-actions-slack@v2.8.0
         id: notify
         with:
           slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}


Test patch:
diff --git a/.github/workflows/pypi-smoke-tests.yml b/.github/workflows/pypi-smoke-tests.yml
index eb6406573..45ea94400 100644
--- a/.github/workflows/pypi-smoke-tests.yml
+++ b/.github/workflows/pypi-smoke-tests.yml
@@ -23,7 +23,7 @@ jobs:
 
     steps:
     - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.python-version }}
     - name: pip install
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 3df497806..6b1629bfd 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -13,10 +13,10 @@ jobs:
     runs-on: ${{ matrix.os }}
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
     - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.python-version }}