From 977a0fde647183fd049f916adf82d1da208ebb40 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Jun 2023 15:45:45 +0300 Subject: [PATCH] chore(deps): update actions/setup-python action to v4.6.1 (#78) ### Release Notes
actions/setup-python ### [`v4.6.1`](https://togithub.com/actions/setup-python/releases/tag/v4.6.1) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.6.0...v4.6.1) ##### What's Changed - Fix `allow-prereleases` sample configuration by [@​mayeut](https://togithub.com/mayeut) in [https://github.com/actions/setup-python/pull/615](https://togithub.com/actions/setup-python/pull/615) - Fix a incorrect link advanced-usage.md by [@​siyuan0322](https://togithub.com/siyuan0322) in [https://github.com/actions/setup-python/pull/657](https://togithub.com/actions/setup-python/pull/657) - Remove implicit dependency by [@​nikolai-laevskii](https://togithub.com/nikolai-laevskii) in [https://github.com/actions/setup-python/pull/668](https://togithub.com/actions/setup-python/pull/668) - Automatic update of configuration files from 05/23/2023 by [@​github-actions](https://togithub.com/github-actions) in [https://github.com/actions/setup-python/pull/671](https://togithub.com/actions/setup-python/pull/671) - Add warning for python 2.7 on release/v4 by [@​dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/673](https://togithub.com/actions/setup-python/pull/673) ##### New Contributors - [@​siyuan0322](https://togithub.com/siyuan0322) made their first contribution in [https://github.com/actions/setup-python/pull/657](https://togithub.com/actions/setup-python/pull/657) - [@​nikolai-laevskii](https://togithub.com/nikolai-laevskii) made their first contribution in [https://github.com/actions/setup-python/pull/668](https://togithub.com/actions/setup-python/pull/668) **Full Changelog**: https://github.com/actions/setup-python/compare/v4...v4.6.1 ### [`v4.6.0`](https://togithub.com/actions/setup-python/releases/tag/v4.6.0): Add allow-prereleases input [Compare Source](https://togithub.com/actions/setup-python/compare/v4.5.0...v4.6.0) In scope of this release we added a new input (`allow-prereleases`) to allow [falling back to pre-release versions of Python when a matching GA version of Python is not available](https://togithub.com/actions/setup-python/pull/414) ```yaml steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: 3.12 allow-prereleases: true ``` Besides, we added such changes as: - Fix bug to trim new line for PyPy version: [https://github.com/actions/setup-python/pull/610](https://togithub.com/actions/setup-python/pull/610) - Added pip dependency file to generate hash from it: [https://github.com/actions/setup-python/pull/604](https://togithub.com/actions/setup-python/pull/604) - Improved error handling for saving and restoring cache: [https://github.com/actions/setup-python/pull/618](https://togithub.com/actions/setup-python/pull/618) - Add warning if cache paths are empty: [https://github.com/actions/setup-python/pull/642](https://togithub.com/actions/setup-python/pull/642)
--- .github/workflows/pre-commit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index bfef49f..ebf47ce 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -16,7 +16,7 @@ jobs: echo "Diff between ${{ github.base_ref }} and ${{ github.sha }}" echo "files=$( echo "$DIFF" | xargs echo )" >> $GITHUB_OUTPUT - - uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 + - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1 with: python-version: '3.9' # Need to success pre-commit fix push