From eb0ff31805ccfddce41cf09033b17dac51eb6369 Mon Sep 17 00:00:00 2001 From: Athanasius <github@miggy.org> Date: Tue, 25 Jan 2022 14:26:42 +0000 Subject: [PATCH] Python: Bump minor version in GH workflows & update Releasing.md I used Releasing.md as reference for what would need the version updating, but it didn't say anything about all the workflows, it now does. --- .github/workflows/pr-checks.yml | 4 ++-- .github/workflows/push-checks.yml | 4 ++-- docs/Releasing.md | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index a1472e27..c89cbae5 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -52,10 +52,10 @@ jobs: #################################################################### # Get Python set up #################################################################### - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v2.3.1 with: - python-version: 3.9 + python-version: 3.10 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/push-checks.yml b/.github/workflows/push-checks.yml index 5f78645f..ba9c64be 100644 --- a/.github/workflows/push-checks.yml +++ b/.github/workflows/push-checks.yml @@ -20,10 +20,10 @@ jobs: - uses: actions/checkout@v2.4.0 with: fetch-depth: 0 - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v2.3.1 with: - python-version: 3.9 + python-version: 3.10 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/docs/Releasing.md b/docs/Releasing.md index 37d14ae6..50f5d0d6 100644 --- a/docs/Releasing.md +++ b/docs/Releasing.md @@ -446,3 +446,5 @@ When changing the Python version (Major.Minor.Patch) used: pythonXX.dll file. 3. `.pre-commit-config.yaml` will need the `default_language_version` section updated to the appropriate version. + 4. All `.github/workflows/` files will need to be citing the correct + version in any `uses: actions/setup-python` section.