Repository: MideTechnology/endaq-python (language: python)

Issue:
workflow syntax updates



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml
index df22980..0b66c0c 100644
--- a/.github/workflows/publish-to-pypi.yml
+++ b/.github/workflows/publish-to-pypi.yml
@@ -14,7 +14,7 @@ jobs:
     - uses: actions/checkout@master
     
     - name: Set up Python 3.8
-      uses: actions/setup-python@v3
+      uses: actions/setup-python@v4
       with:
         python-version: 3.8
     


Test patch:
diff --git a/.github/workflows/docs-tests.yml b/.github/workflows/docs-tests.yml
index 646a854..0adae99 100644
--- a/.github/workflows/docs-tests.yml
+++ b/.github/workflows/docs-tests.yml
@@ -20,7 +20,7 @@ jobs:
     steps:
 
       - name: Setup Python
-        uses: actions/setup-python@v3
+        uses: actions/setup-python@v4
         with:
           python-version: "3.9"
 
@@ -35,7 +35,7 @@ jobs:
 
       - name: Get pip cache location
         id: pip-cache
-        run: echo "::set-output name=dir::$(pip cache dir)"
+        run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
 
       - name: Get date
         id: date
@@ -43,7 +43,7 @@ jobs:
           python -c
           "import datetime;
           now = datetime.datetime.now();
-          print(f'::set-output name=text::{now.year}/{now.month}-part{1 + now.day // 8}')"
+          print(f'text={now.year}/{now.month}-part{1 + now.day // 8}')" >> $GITHUB_OUTPUT
 
       - name: Load pip cache
         uses: actions/cache@v3
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 7624f58..6ec16fb 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -26,7 +26,7 @@ jobs:
     steps:
 
       - name: Setup Python
-        uses: actions/setup-python@v3
+        uses: actions/setup-python@v4
         with:
           python-version: ${{ matrix.python-version }}
 
@@ -36,17 +36,19 @@ jobs:
       - name: Checkout code
         uses: actions/checkout@v3
 
-      - name: Get pip Cache Location
+      - name: Get pip cache location
         id: pip-cache
-        run: echo "::set-output name=dir::$(pip cache dir)"
+        shell: bash
+        run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
 
       - name: Get date
         id: date
+        shell: bash
         run: >
           python -c
           "import datetime;
           now = datetime.datetime.now();
-          print(f'::set-output name=text::{now.year}/{now.month}-part{1 + now.day // 8}')"
+          print(f'text={now.year}/{now.month}-part{1 + now.day // 8}')" >> $GITHUB_OUTPUT
 
       - name: Load pip Cache
         uses: actions/cache@v3