fix(ci): pin + cache

This commit is contained in:
Timothy Stewart
2022-11-01 19:55:33 -05:00
parent d9cecd5364
commit 13be424187
2 changed files with 9 additions and 2 deletions

View File

@@ -23,6 +23,13 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }} python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip' # caching pip dependencies cache: 'pip' # caching pip dependencies
- name: Cache pip
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # 3.0.11
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies - name: Install dependencies
run: | run: |

View File

@@ -35,7 +35,7 @@ jobs:
EOF EOF
- name: Cache Vagrant boxes - name: Cache Vagrant boxes
uses: actions/cache@2541b1294d2704b0964813337f33b291d3f8596b # 3.0.11 uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # 3.0.11
with: with:
path: | path: |
~/.vagrant.d/boxes ~/.vagrant.d/boxes