From: Oleg Broytman Date: Mon, 13 Jan 2025 21:42:05 +0000 (+0300) Subject: CI(GHActions): Upgrade `setup-python` and `cache` actions X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=37d10659360414f9f655c89a6834ee1ecca321f4;p=cookiecutter.git CI(GHActions): Upgrade `setup-python` and `cache` actions --- diff --git a/project_template/.github/workflows/test-publish.yaml b/project_template/.github/workflows/test-publish.yaml index 72ebac9..2772576 100644 --- a/project_template/.github/workflows/test-publish.yaml +++ b/project_template/.github/workflows/test-publish.yaml @@ -62,16 +62,16 @@ jobs: pip3.7 --version shell: bash if: ${{ matrix.python-version == '2.7' && runner.os != 'Windows' && startsWith(github.ref, 'refs/tags/') }} - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} if: ${{ contains(fromJSON(env.not_in_conda), matrix.python-version) }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/conda_pkgs_dir key: ${{ runner.os }}-conda - name: Cache pip - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ matrix.pip-cache-path }} key: ${{ runner.os }}-pip