From 15609ab85f0561e5b9b093f34281352a6035b351 Mon Sep 17 00:00:00 2001 From: endorxmr <28117225+endorxmr@users.noreply.github.com> Date: Mon, 10 Jul 2023 22:01:11 +0200 Subject: [PATCH] Add pip cache to minimal workflow --- .github/workflows/minimal.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/minimal.yml b/.github/workflows/minimal.yml index 7883844..9d52ff2 100644 --- a/.github/workflows/minimal.yml +++ b/.github/workflows/minimal.yml @@ -55,6 +55,11 @@ jobs: # path: build/deps/dload # key: deps-${{ hashFiles('build/deps/dload/*') }} # restore-keys: deps-${{ hashFiles('build/deps/dload/*') }} + - name: Cache pip packages + uses: actions/setup-python@v4 + with: + python-version: '3.10' + cache: 'pip' # caching pip dependencies - name: prepare environment run: util/prep-env.sh - name: set apt conf @@ -112,6 +117,11 @@ jobs: # path: build/deps/dload # key: deps-${{ hashFiles('build/deps/dload/*') }} # restore-keys: deps-${{ hashFiles('build/deps/dload/*') }} + - name: Cache pip packages + uses: actions/setup-python@v4 + with: + python-version: '3.10' + cache: 'pip' # caching pip dependencies - name: prepare environment run: util/prep-env.sh - name: set apt conf @@ -163,6 +173,11 @@ jobs: restore-keys: | data-diff-01-${{ github.sha }} data-diff-01 + - name: Cache pip packages + uses: actions/setup-python@v4 + with: + python-version: '3.10' + cache: 'pip' # caching pip dependencies - name: prepare environment run: util/prep-env.sh - name: install dependencies