summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2020-05-19 01:18:50 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2020-05-19 01:18:50 -0700
commitadc49634c7a95d3b356cc37b4f4d30598c9cee76 (patch)
tree6eccc446eaf0ecbb8d9af4349d76515187712a93 /.github
parente4dfeba87437d7ae129357a2c2ea2f30109b305d (diff)
downloadisort-adc49634c7a95d3b356cc37b4f4d30598c9cee76.tar.gz
Attempt to add windows cache
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ae8edb54..7244bb5c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -33,6 +33,16 @@ jobs:
restore-keys: |
${{ matrix.os }}-${{ matrix.python-version }}-
+ - name: Windows cache
+ uses: actions/cache@v1
+ if: startsWith(matrix.os, 'windows')
+ with:
+ path: ~\AppData\Local\pip\cache
+ key:
+ ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml') }}
+ restore-keys: |
+ ${{ matrix.os }}-${{ matrix.python-version }}-
+
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with: