diff --git a/.github/actions/python-environment/action.yml b/.github/actions/python-environment/action.yml index 0757d6df4..88c311138 100644 --- a/.github/actions/python-environment/action.yml +++ b/.github/actions/python-environment/action.yml @@ -34,7 +34,7 @@ runs: - name: Set up Python (${{ inputs.python-version}}) - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ inputs.python-version }} @@ -68,7 +68,7 @@ runs: - name: Cache Poetry environment if: inputs.use-cache == 'true' id: cache-poetry-env - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ steps.setup-cache-variables.outputs.POETRY_ENV_PATH }} key: poetry-env-${{ steps.setup-cache-variables.outputs.POETRY_SHA }}-${{ steps.setup-cache-variables.outputs.IMAGE_OS }}-${{ steps.setup-cache-variables.outputs.IMAGE_VERSION }}-${{ runner.arch }}-${{ inputs.poetry-version }}-${{ inputs.python-version }}-${{ inputs.extras }} diff --git a/.github/actions/security-issues/action.yml b/.github/actions/security-issues/action.yml index 48fbf8a11..bc90cc10b 100644 --- a/.github/actions/security-issues/action.yml +++ b/.github/actions/security-issues/action.yml @@ -32,7 +32,7 @@ runs: steps: - name: Setup Python (${{ inputs.python-version}}) - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: 3.11 diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 10ac7d74b..813416394 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -10,6 +10,8 @@ Before, a `.venv` directory would have be excluded no matter what parent directo Please see the user guide for details. +Additionally the release updates the references to GitHub actions `cache` and `setup-python` to avoid using deprecated Node.js 20 actions. + ## Features * #697: Supported multi-part paths in `add_to_excluded_python_paths` @@ -18,3 +20,4 @@ Please see the user guide for details. * #728: Updated to latest PTB workflows and added `.workflow-patcher.yml` * #736: Capitalized and shorten names of GitHub workflows +* #745: Updated references to GitHub actions cache and setup-python