From 11b2465a9b7beccfb2d4a70884dff0fb5367fe4d Mon Sep 17 00:00:00 2001 From: Alberto Cocheo Date: Fri, 20 Mar 2026 16:50:56 +0100 Subject: [PATCH 1/2] Updates --- .../apt_requirements/restore_apt_cache/action.yml | 2 +- .../apt_requirements/save_apt_cache/action.yml | 2 +- .github/actions/push_on_ecr/action.yml | 2 +- .../python_requirements/restore_pip_cache/action.yml | 2 +- .../restore_virtualenv/action.yml | 2 +- .../python_requirements/save_pip_cache/action.yml | 2 +- .../python_requirements/save_virtualenv/action.yml | 2 +- .github/workflows/_detect_changes.yml | 4 ++-- .github/workflows/_node.yml | 4 ++-- .github/workflows/_opentofu.yml | 2 +- .github/workflows/_python.yml | 4 ++-- .github/workflows/_release_and_tag.yml | 12 ++++++------ .github/workflows/create_apt_cache.yaml | 2 +- .github/workflows/create_python_cache.yaml | 4 ++-- .../apt_requirements/restore_apt_cache/action.yml | 2 +- actions/apt_requirements/save_apt_cache/action.yml | 2 +- actions/push_on_ecr/action.yml | 2 +- .../python_requirements/restore_pip_cache/action.yml | 2 +- .../restore_virtualenv/action.yml | 2 +- .../python_requirements/save_pip_cache/action.yml | 2 +- .../python_requirements/save_virtualenv/action.yml | 2 +- workflows/_detect_changes.yml | 4 ++-- workflows/_node.yml | 4 ++-- workflows/_opentofu.yml | 2 +- workflows/_python.yml | 4 ++-- workflows/_release_and_tag.yml | 12 ++++++------ workflows/create_apt_cache.yaml | 2 +- workflows/create_python_cache.yaml | 4 ++-- 28 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.github/actions/apt_requirements/restore_apt_cache/action.yml b/.github/actions/apt_requirements/restore_apt_cache/action.yml index 282935b..e1ed584 100644 --- a/.github/actions/apt_requirements/restore_apt_cache/action.yml +++ b/.github/actions/apt_requirements/restore_apt_cache/action.yml @@ -45,7 +45,7 @@ runs: shell: bash - name: Restore APT cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: restore_apt_cache with: path: /var/cache/apt/archives/*.deb diff --git a/.github/actions/apt_requirements/save_apt_cache/action.yml b/.github/actions/apt_requirements/save_apt_cache/action.yml index af41cfd..e8f75ff 100644 --- a/.github/actions/apt_requirements/save_apt_cache/action.yml +++ b/.github/actions/apt_requirements/save_apt_cache/action.yml @@ -18,7 +18,7 @@ runs: with: file_paths: ${{ inputs.apt_requirements_file_path }} - name: Save APT cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: /var/cache/apt/archives/*.deb key: ${{ inputs.git_reference }}-apt-${{ steps.compute_apt_requirements_file_sha256_hash.outputs.computed_hash }} \ No newline at end of file diff --git a/.github/actions/push_on_ecr/action.yml b/.github/actions/push_on_ecr/action.yml index f7e182a..d1c67f9 100644 --- a/.github/actions/push_on_ecr/action.yml +++ b/.github/actions/push_on_ecr/action.yml @@ -36,7 +36,7 @@ runs: using: "composite" steps: - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: aws-region: ${{ inputs.aws_region}} aws-access-key-id: ${{ inputs.aws_access_key }} diff --git a/.github/actions/python_requirements/restore_pip_cache/action.yml b/.github/actions/python_requirements/restore_pip_cache/action.yml index e4568f7..0c144c8 100644 --- a/.github/actions/python_requirements/restore_pip_cache/action.yml +++ b/.github/actions/python_requirements/restore_pip_cache/action.yml @@ -36,7 +36,7 @@ runs: shell: bash - name: Restore pip cache id: restore_pip_cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: key: ${{ steps.generate_random_uuid.outputs.computed_uuid }} path: ${{ steps.get_pip_cache_directory.outputs.pip_cache_path }} diff --git a/.github/actions/python_requirements/restore_virtualenv/action.yml b/.github/actions/python_requirements/restore_virtualenv/action.yml index cd76c98..bca3969 100644 --- a/.github/actions/python_requirements/restore_virtualenv/action.yml +++ b/.github/actions/python_requirements/restore_virtualenv/action.yml @@ -29,7 +29,7 @@ runs: - name: Restore virtual environment id: restore_virtual_environment - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: ${{ inputs.virtual_environment_path }} key: ${{ inputs.git_reference }}-venv-${{ steps.compute_requirements_files_sha256_hash.outputs.computed_hash }} diff --git a/.github/actions/python_requirements/save_pip_cache/action.yml b/.github/actions/python_requirements/save_pip_cache/action.yml index d98e398..0840aba 100644 --- a/.github/actions/python_requirements/save_pip_cache/action.yml +++ b/.github/actions/python_requirements/save_pip_cache/action.yml @@ -30,7 +30,7 @@ runs: echo "::debug::The pip cache path is $pip_cache_path" shell: bash - name: Save pip cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: ${{ steps.get_pip_cache_directory.outputs.pip_cache_path }} key: ${{ inputs.git_reference }}-pip-cache-${{ steps.generate_random_uuid.outputs.computed_uuid }} \ No newline at end of file diff --git a/.github/actions/python_requirements/save_virtualenv/action.yml b/.github/actions/python_requirements/save_virtualenv/action.yml index 6c6c66c..41b65b4 100644 --- a/.github/actions/python_requirements/save_virtualenv/action.yml +++ b/.github/actions/python_requirements/save_virtualenv/action.yml @@ -23,7 +23,7 @@ runs: file_paths: ${{ inputs.requirements_paths }} - name: Cache virtual environment - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: ${{ inputs.virtual_environment_path }} key: ${{ inputs.git_reference }}-venv-${{ steps.compute_requirements_files_sha256_hash.outputs.computed_hash }} \ No newline at end of file diff --git a/.github/workflows/_detect_changes.yml b/.github/workflows/_detect_changes.yml index 1a20cf9..7cb82d3 100644 --- a/.github/workflows/_detect_changes.yml +++ b/.github/workflows/_detect_changes.yml @@ -62,12 +62,12 @@ jobs: steps: - name: Check out PR target branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.base_ref }} - name: Check out source branch latest commit - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: clean: false diff --git a/.github/workflows/_node.yml b/.github/workflows/_node.yml index f7a4f4c..3351701 100644 --- a/.github/workflows/_node.yml +++ b/.github/workflows/_node.yml @@ -89,10 +89,10 @@ jobs: language: ['javascript'] steps: - name: Check out latest commit for current branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node_version }} cache: 'npm' diff --git a/.github/workflows/_opentofu.yml b/.github/workflows/_opentofu.yml index 0378f6e..1071236 100644 --- a/.github/workflows/_opentofu.yml +++ b/.github/workflows/_opentofu.yml @@ -22,7 +22,7 @@ jobs: permissions: write-all steps: - name: Check out latest commit - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: tofu fmt ${{ matrix.directory }} uses: dflook/tofu-fmt-check@v2 diff --git a/.github/workflows/_python.yml b/.github/workflows/_python.yml index 8c5c39f..4d0a4a5 100644 --- a/.github/workflows/_python.yml +++ b/.github/workflows/_python.yml @@ -254,10 +254,10 @@ jobs: env: ${{ fromJson(inputs.env) }} steps: - name: Check out latest commit - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python_version }} diff --git a/.github/workflows/_release_and_tag.yml b/.github/workflows/_release_and_tag.yml index 663e2ca..439f55f 100644 --- a/.github/workflows/_release_and_tag.yml +++ b/.github/workflows/_release_and_tag.yml @@ -75,7 +75,7 @@ jobs: outputs: match: ${{ steps.check-tag.outputs.match }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 # otherwise, you do not retrieve the tags @@ -101,12 +101,12 @@ jobs: append_body: true - name: Checkout created tag - uses: actions/checkout@v4 + uses: actions/checkout@v5 if: steps.check-tag.outputs.match == 'true' && ( inputs.publish_on_test_pypi || inputs.publish_on_pypi) with: fetch-depth: 0 # otherwise, you do not retrieve the tags - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 if: steps.check-tag.outputs.match == 'true' && (inputs.publish_on_pypi || inputs.publish_on_test_pypi || inputs.append_to_release) with: python-version: "3.x" @@ -144,7 +144,7 @@ jobs: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 if: steps.check-tag.outputs.match == 'true' && inputs.publish_on_npm with: node-version: 20 @@ -174,7 +174,7 @@ jobs: matrix: docker_mapping: ${{ fromJson(inputs.docker_mapping) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 # otherwise, you do not retrieve the tags @@ -215,7 +215,7 @@ jobs: matrix: docker_mapping: ${{ fromJson(inputs.docker_mapping) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 # otherwise, you do not retrieve the tags diff --git a/.github/workflows/create_apt_cache.yaml b/.github/workflows/create_apt_cache.yaml index 9bd5fd7..9f8b52b 100644 --- a/.github/workflows/create_apt_cache.yaml +++ b/.github/workflows/create_apt_cache.yaml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out latest commit on current branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 # Remember to set the same APT requirements file path set before! - name: Install APT dependencies diff --git a/.github/workflows/create_python_cache.yaml b/.github/workflows/create_python_cache.yaml index 8db85f4..daa2861 100644 --- a/.github/workflows/create_python_cache.yaml +++ b/.github/workflows/create_python_cache.yaml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out latest commit - uses: actions/checkout@v4 + uses: actions/checkout@v5 # Uncomment only if necessary #- name: Install system dependencies required by Python packages @@ -33,7 +33,7 @@ jobs: # sudo apt-get update && sudo apt install ... - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" diff --git a/actions/apt_requirements/restore_apt_cache/action.yml b/actions/apt_requirements/restore_apt_cache/action.yml index 282935b..e1ed584 100644 --- a/actions/apt_requirements/restore_apt_cache/action.yml +++ b/actions/apt_requirements/restore_apt_cache/action.yml @@ -45,7 +45,7 @@ runs: shell: bash - name: Restore APT cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: restore_apt_cache with: path: /var/cache/apt/archives/*.deb diff --git a/actions/apt_requirements/save_apt_cache/action.yml b/actions/apt_requirements/save_apt_cache/action.yml index af41cfd..e8f75ff 100644 --- a/actions/apt_requirements/save_apt_cache/action.yml +++ b/actions/apt_requirements/save_apt_cache/action.yml @@ -18,7 +18,7 @@ runs: with: file_paths: ${{ inputs.apt_requirements_file_path }} - name: Save APT cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: /var/cache/apt/archives/*.deb key: ${{ inputs.git_reference }}-apt-${{ steps.compute_apt_requirements_file_sha256_hash.outputs.computed_hash }} \ No newline at end of file diff --git a/actions/push_on_ecr/action.yml b/actions/push_on_ecr/action.yml index f7e182a..d1c67f9 100644 --- a/actions/push_on_ecr/action.yml +++ b/actions/push_on_ecr/action.yml @@ -36,7 +36,7 @@ runs: using: "composite" steps: - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: aws-region: ${{ inputs.aws_region}} aws-access-key-id: ${{ inputs.aws_access_key }} diff --git a/actions/python_requirements/restore_pip_cache/action.yml b/actions/python_requirements/restore_pip_cache/action.yml index e4568f7..0c144c8 100644 --- a/actions/python_requirements/restore_pip_cache/action.yml +++ b/actions/python_requirements/restore_pip_cache/action.yml @@ -36,7 +36,7 @@ runs: shell: bash - name: Restore pip cache id: restore_pip_cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: key: ${{ steps.generate_random_uuid.outputs.computed_uuid }} path: ${{ steps.get_pip_cache_directory.outputs.pip_cache_path }} diff --git a/actions/python_requirements/restore_virtualenv/action.yml b/actions/python_requirements/restore_virtualenv/action.yml index cd76c98..bca3969 100644 --- a/actions/python_requirements/restore_virtualenv/action.yml +++ b/actions/python_requirements/restore_virtualenv/action.yml @@ -29,7 +29,7 @@ runs: - name: Restore virtual environment id: restore_virtual_environment - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: ${{ inputs.virtual_environment_path }} key: ${{ inputs.git_reference }}-venv-${{ steps.compute_requirements_files_sha256_hash.outputs.computed_hash }} diff --git a/actions/python_requirements/save_pip_cache/action.yml b/actions/python_requirements/save_pip_cache/action.yml index d98e398..0840aba 100644 --- a/actions/python_requirements/save_pip_cache/action.yml +++ b/actions/python_requirements/save_pip_cache/action.yml @@ -30,7 +30,7 @@ runs: echo "::debug::The pip cache path is $pip_cache_path" shell: bash - name: Save pip cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: ${{ steps.get_pip_cache_directory.outputs.pip_cache_path }} key: ${{ inputs.git_reference }}-pip-cache-${{ steps.generate_random_uuid.outputs.computed_uuid }} \ No newline at end of file diff --git a/actions/python_requirements/save_virtualenv/action.yml b/actions/python_requirements/save_virtualenv/action.yml index 6c6c66c..41b65b4 100644 --- a/actions/python_requirements/save_virtualenv/action.yml +++ b/actions/python_requirements/save_virtualenv/action.yml @@ -23,7 +23,7 @@ runs: file_paths: ${{ inputs.requirements_paths }} - name: Cache virtual environment - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: ${{ inputs.virtual_environment_path }} key: ${{ inputs.git_reference }}-venv-${{ steps.compute_requirements_files_sha256_hash.outputs.computed_hash }} \ No newline at end of file diff --git a/workflows/_detect_changes.yml b/workflows/_detect_changes.yml index 1a20cf9..7cb82d3 100644 --- a/workflows/_detect_changes.yml +++ b/workflows/_detect_changes.yml @@ -62,12 +62,12 @@ jobs: steps: - name: Check out PR target branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.base_ref }} - name: Check out source branch latest commit - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: clean: false diff --git a/workflows/_node.yml b/workflows/_node.yml index f7a4f4c..3351701 100644 --- a/workflows/_node.yml +++ b/workflows/_node.yml @@ -89,10 +89,10 @@ jobs: language: ['javascript'] steps: - name: Check out latest commit for current branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node_version }} cache: 'npm' diff --git a/workflows/_opentofu.yml b/workflows/_opentofu.yml index 0378f6e..1071236 100644 --- a/workflows/_opentofu.yml +++ b/workflows/_opentofu.yml @@ -22,7 +22,7 @@ jobs: permissions: write-all steps: - name: Check out latest commit - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: tofu fmt ${{ matrix.directory }} uses: dflook/tofu-fmt-check@v2 diff --git a/workflows/_python.yml b/workflows/_python.yml index 8c5c39f..4d0a4a5 100644 --- a/workflows/_python.yml +++ b/workflows/_python.yml @@ -254,10 +254,10 @@ jobs: env: ${{ fromJson(inputs.env) }} steps: - name: Check out latest commit - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python_version }} diff --git a/workflows/_release_and_tag.yml b/workflows/_release_and_tag.yml index 663e2ca..439f55f 100644 --- a/workflows/_release_and_tag.yml +++ b/workflows/_release_and_tag.yml @@ -75,7 +75,7 @@ jobs: outputs: match: ${{ steps.check-tag.outputs.match }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 # otherwise, you do not retrieve the tags @@ -101,12 +101,12 @@ jobs: append_body: true - name: Checkout created tag - uses: actions/checkout@v4 + uses: actions/checkout@v5 if: steps.check-tag.outputs.match == 'true' && ( inputs.publish_on_test_pypi || inputs.publish_on_pypi) with: fetch-depth: 0 # otherwise, you do not retrieve the tags - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 if: steps.check-tag.outputs.match == 'true' && (inputs.publish_on_pypi || inputs.publish_on_test_pypi || inputs.append_to_release) with: python-version: "3.x" @@ -144,7 +144,7 @@ jobs: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 if: steps.check-tag.outputs.match == 'true' && inputs.publish_on_npm with: node-version: 20 @@ -174,7 +174,7 @@ jobs: matrix: docker_mapping: ${{ fromJson(inputs.docker_mapping) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 # otherwise, you do not retrieve the tags @@ -215,7 +215,7 @@ jobs: matrix: docker_mapping: ${{ fromJson(inputs.docker_mapping) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 # otherwise, you do not retrieve the tags diff --git a/workflows/create_apt_cache.yaml b/workflows/create_apt_cache.yaml index 9bd5fd7..9f8b52b 100644 --- a/workflows/create_apt_cache.yaml +++ b/workflows/create_apt_cache.yaml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out latest commit on current branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 # Remember to set the same APT requirements file path set before! - name: Install APT dependencies diff --git a/workflows/create_python_cache.yaml b/workflows/create_python_cache.yaml index 8db85f4..daa2861 100644 --- a/workflows/create_python_cache.yaml +++ b/workflows/create_python_cache.yaml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out latest commit - uses: actions/checkout@v4 + uses: actions/checkout@v5 # Uncomment only if necessary #- name: Install system dependencies required by Python packages @@ -33,7 +33,7 @@ jobs: # sudo apt-get update && sudo apt install ... - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" From c5c0745e2fb78da7c913fa095fe60c112173a32d Mon Sep 17 00:00:00 2001 From: Alberto Cocheo Date: Fri, 20 Mar 2026 16:57:54 +0100 Subject: [PATCH 2/2] Fix --- .github/workflows/_node.yml | 2 +- workflows/_node.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_node.yml b/.github/workflows/_node.yml index 3351701..0ef9de7 100644 --- a/.github/workflows/_node.yml +++ b/.github/workflows/_node.yml @@ -92,7 +92,7 @@ jobs: uses: actions/checkout@v5 - name: Set up Node.js - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node_version }} cache: 'npm' diff --git a/workflows/_node.yml b/workflows/_node.yml index 3351701..0ef9de7 100644 --- a/workflows/_node.yml +++ b/workflows/_node.yml @@ -92,7 +92,7 @@ jobs: uses: actions/checkout@v5 - name: Set up Node.js - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node_version }} cache: 'npm'