Repository: altwalker/altwalker (language: python)

Issue:
Update workflows to use python 3.12



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index c21b2fb..4a5c89e 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -3,6 +3,7 @@ name: Docs
 on:
   push:
     paths:
+      - '.github/workflows/docs.yml'
       - 'altwalker/**'
       - 'docs/**'
       - 'docs8.ini'
@@ -26,7 +27,7 @@ jobs:
 
     - uses: actions/setup-python@v4
       with:
-        python-version: '3.10'
+        python-version: '3.12'
 
     - name: Install doc8
       run: |
@@ -44,7 +45,7 @@ jobs:
 
     - uses: altwalker/setup-graphwalker@v1
       with:
-        python-version: '3.10'
+        python-version: '3.12'
         graphwalker-version: ${{ env.GRAPHWALKER_VERSION }}
 
     - name: Install dev dependencies
diff --git a/.github/workflows/functional.yml b/.github/workflows/functional.yml
index 94934e5..cee461b 100644
--- a/.github/workflows/functional.yml
+++ b/.github/workflows/functional.yml
@@ -45,7 +45,7 @@ jobs:
 
     - uses: actions/setup-python@v4
       with:
-        python-version: '3.10'
+        python-version: '3.12'
 
     - uses: actions/setup-java@v3
       with:
@@ -80,7 +80,7 @@ jobs:
 
     - uses: altwalker/setup-graphwalker@v1
       with:
-        python-version: '3.10'
+        python-version: '3.12'
         graphwalker-version: ${{ env.GRAPHWALKER_VERSION }}
 
     - name: Install AltWalker
@@ -155,7 +155,7 @@ jobs:
 
     - uses: altwalker/setup-graphwalker@v1
       with:
-        python-version: '3.10'
+        python-version: '3.12'
         graphwalker-version: ${{ env.GRAPHWALKER_VERSION }}
 
     - name: Install AltWalker
@@ -195,7 +195,7 @@ jobs:
 
     - uses: altwalker/setup-graphwalker@v1
       with:
-        python-version: '3.10'
+        python-version: '3.12'
         graphwalker-version: ${{ env.GRAPHWALKER_VERSION }}
 
     - name: Download .NET Executor build


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 5c2e56d..9594d35 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -3,6 +3,7 @@ name: Unit Tests & Integration Tests
 on:
   push:
     paths:
+      - '.github/workflows/tests.yml'
       - 'altwalker/**'
       - 'tests/**'
       - 'requirements.txt'
@@ -23,7 +24,7 @@ jobs:
 
     - uses: actions/setup-python@v4
       with:
-        python-version: '3.10'
+        python-version: '3.12'
 
     - name: Install dependencies
       run: |
@@ -42,7 +43,7 @@ jobs:
 
     - uses: actions/setup-python@v4
       with:
-        python-version: '3.10'
+        python-version: '3.12'
 
     - name: Install dependencies
       run: |
@@ -79,7 +80,7 @@ jobs:
 
     - uses: altwalker/setup-graphwalker@v1
       with:
-        python-version: '3.10'
+        python-version: '3.12'
         graphwalker-version: ${{ env.GRAPHWALKER_VERSION }}
 
     - name: Install dependencies
@@ -105,7 +106,7 @@ jobs:
 
     strategy:
       matrix:
-        python: ['3.8', '3.9', '3.10', '3.11']
+        python: ['3.8', '3.9', '3.10', '3.11', '3.12']
 
     steps:
     - uses: actions/checkout@v4