From d17a5f5267c3ef4d67e07f672fbd2d031a56d61f Mon Sep 17 00:00:00 2001 From: Khole Jones Date: Tue, 26 Aug 2025 18:01:43 +0100 Subject: [PATCH 1/4] update cache version --- .github/workflows/ci.yml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4966248..95e64d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: venv key: >- @@ -50,7 +50,7 @@ jobs: pip install -r requirements.txt -r requirements_test.txt - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -77,7 +77,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: venv key: >- @@ -92,7 +92,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -121,7 +121,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: venv key: >- @@ -136,7 +136,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -165,7 +165,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: venv key: >- @@ -180,7 +180,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -212,7 +212,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: venv key: >- @@ -227,7 +227,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -259,7 +259,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: venv key: >- @@ -274,7 +274,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -306,7 +306,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: venv key: >- @@ -321,7 +321,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -350,7 +350,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: venv key: >- @@ -365,7 +365,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -397,7 +397,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: venv key: >- @@ -412,7 +412,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -441,7 +441,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: venv key: >- @@ -456,7 +456,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v4@v2.1.4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | From 6bf6be25692ed36e8f19d9318d5343971bbbbd30 Mon Sep 17 00:00:00 2001 From: Khole Jones Date: Tue, 26 Aug 2025 18:02:53 +0100 Subject: [PATCH 2/4] fix formatting --- .github/workflows/ci.yml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95e64d7..89323c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: venv key: >- @@ -50,7 +50,7 @@ jobs: pip install -r requirements.txt -r requirements_test.txt - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -77,7 +77,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: venv key: >- @@ -92,7 +92,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -121,7 +121,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: venv key: >- @@ -136,7 +136,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -165,7 +165,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: venv key: >- @@ -180,7 +180,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -212,7 +212,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: venv key: >- @@ -227,7 +227,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -259,7 +259,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: venv key: >- @@ -274,7 +274,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -306,7 +306,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: venv key: >- @@ -321,7 +321,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -350,7 +350,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: venv key: >- @@ -365,7 +365,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -397,7 +397,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: venv key: >- @@ -412,7 +412,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | @@ -441,7 +441,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: venv key: >- @@ -456,7 +456,7 @@ jobs: exit 1 - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v4@v2.1.4 + uses: actions/cache@v4 with: path: ${{ env.PRE_COMMIT_HOME }} key: | From 700254591686e1c52aca9121d5be8bd2ca760a40 Mon Sep 17 00:00:00 2001 From: Khole Jones Date: Tue, 26 Aug 2025 18:05:56 +0100 Subject: [PATCH 3/4] update python package --- .github/workflows/python-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index c7dadce..47bad88 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -14,9 +14,9 @@ jobs: python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From c6f3ee960742f5b3cd0a49ce69958e555e056121 Mon Sep 17 00:00:00 2001 From: Khole Jones Date: Tue, 26 Aug 2025 18:09:55 +0100 Subject: [PATCH 4/4] update versions --- .github/workflows/ci.yml | 44 ++++++++++++++-------------- .github/workflows/python-publish.yml | 2 +- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89323c3..f1b7368 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,10 +21,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code from GitHub - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ env.DEFAULT_PYTHON }} id: python - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 with: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore base Python virtual environment @@ -69,9 +69,9 @@ jobs: needs: prepare-base steps: - name: Check out code from GitHub - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ env.DEFAULT_PYTHON }} - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 id: python with: python-version: ${{ env.DEFAULT_PYTHON }} @@ -113,9 +113,9 @@ jobs: needs: prepare-base steps: - name: Check out code from GitHub - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ env.DEFAULT_PYTHON }} - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 id: python with: python-version: ${{ env.DEFAULT_PYTHON }} @@ -157,9 +157,9 @@ jobs: needs: prepare-base steps: - name: Check out code from GitHub - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ env.DEFAULT_PYTHON }} - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 id: python with: python-version: ${{ env.DEFAULT_PYTHON }} @@ -204,9 +204,9 @@ jobs: needs: prepare-base steps: - name: Check out code from GitHub - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ env.DEFAULT_PYTHON }} - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 id: python with: python-version: ${{ env.DEFAULT_PYTHON }} @@ -251,9 +251,9 @@ jobs: needs: prepare-base steps: - name: Check out code from GitHub - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ env.DEFAULT_PYTHON }} - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 id: python with: python-version: ${{ env.DEFAULT_PYTHON }} @@ -298,9 +298,9 @@ jobs: needs: prepare-base steps: - name: Check out code from GitHub - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ env.DEFAULT_PYTHON }} - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 id: python with: python-version: ${{ env.DEFAULT_PYTHON }} @@ -342,9 +342,9 @@ jobs: needs: prepare-base steps: - name: Check out code from GitHub - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ env.DEFAULT_PYTHON }} - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 id: python with: python-version: ${{ env.DEFAULT_PYTHON }} @@ -389,9 +389,9 @@ jobs: needs: prepare-base steps: - name: Check out code from GitHub - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ env.DEFAULT_PYTHON }} - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 id: python with: python-version: ${{ env.DEFAULT_PYTHON }} @@ -433,9 +433,9 @@ jobs: needs: prepare-base steps: - name: Check out code from GitHub - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ env.DEFAULT_PYTHON }} - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 id: python with: python-version: ${{ env.DEFAULT_PYTHON }} @@ -477,9 +477,9 @@ jobs: name: Check pylint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - name: Set up python ${{ env.DEFAULT_PYTHON }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ env.DEFAULT_PYTHON }} - name: Install dependencies diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 6c4382b..c8e1919 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: actions/setup-python@v5 with: