GitHub Action: Bump actions/setup-python from 2 to 6

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
diff --git a/.github/workflows/BuildPlatform.yml b/.github/workflows/BuildPlatform.yml
index c02ac35..2d3d817 100644
--- a/.github/workflows/BuildPlatform.yml
+++ b/.github/workflows/BuildPlatform.yml
@@ -73,7 +73,7 @@
         if: ${{ startsWith(inputs.runs-on, 'ubuntu') }}

 

       - name: Set up Python ${{ inputs.python-version }}

-        uses: actions/setup-python@v2

+        uses: actions/setup-python@v6

         with:

           python-version: ${{ inputs.python-version }}

         if: ${{ !startsWith(inputs.runs-on, 'ubuntu') }}

diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index c22fa8d..1813f44 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -77,7 +77,7 @@
       uses: actions/checkout@v4

 

     - name: Install Python

-      uses: actions/setup-python@v5

+      uses: actions/setup-python@v6

       with:

         python-version: '3.11'

         cache: 'pip'

diff --git a/.github/workflows/request-reviews.yml b/.github/workflows/request-reviews.yml
index d04901d..fa5bf19 100644
--- a/.github/workflows/request-reviews.yml
+++ b/.github/workflows/request-reviews.yml
@@ -53,7 +53,7 @@
             Maintainers.txt

 

       - name: Setup Python

-        uses: actions/setup-python@v5

+        uses: actions/setup-python@v6

         with:

           python-version: '3.x'

           cache: 'pip'