]> git.phdru.name Git - cookiecutter.git/commitdiff
CI(GHActions): Upgrade `setup-python` and `cache` actions
authorOleg Broytman <phd@phdru.name>
Mon, 13 Jan 2025 21:42:05 +0000 (00:42 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 13 Jan 2025 22:54:13 +0000 (01:54 +0300)
project_template/.github/workflows/test-publish.yaml

index 72ebac900cfda69e78050cd9ce8529bd49b5bb24..277257667645251840c1bfbc630a0d88c78ee8ab 100644 (file)
@@ -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