diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-24 06:16:06 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-24 06:39:57 -0500 |
commit | c1ac82f150b4ac05b8cbf2dbc11cd35986559e1c (patch) | |
tree | 0a92cd9b415d793874a733a92866e2ed7b0bed37 | |
parent | ec0d4104d381c19f34255279c928637082ca80cd (diff) | |
download | python-coveragepy-git-c1ac82f150b4ac05b8cbf2dbc11cd35986559e1c.tar.gz |
build: use new setup-python caching
-rw-r--r-- | .github/workflows/coverage.yml | 4 | ||||
-rw-r--r-- | .github/workflows/kit.yml | 8 | ||||
-rw-r--r-- | .github/workflows/quality.yml | 4 | ||||
-rw-r--r-- | .github/workflows/testsuite.yml | 2 |
4 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b751eebc..8ab96b8e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -60,6 +60,8 @@ jobs: uses: "actions/setup-python@v2" with: python-version: "${{ matrix.python-version }}" + cache: pip + cache-dependency-path: 'requirements/*.pip' - name: "Install dependencies" run: | @@ -97,6 +99,8 @@ jobs: uses: "actions/setup-python@v2" with: python-version: "3.8" + cache: pip + cache-dependency-path: 'requirements/*.pip' - name: "Install dependencies" run: | diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml index bed90069..29b7f50e 100644 --- a/.github/workflows/kit.yml +++ b/.github/workflows/kit.yml @@ -111,6 +111,8 @@ jobs: uses: actions/setup-python@v2 with: python-version: "3.8" + cache: pip + cache-dependency-path: 'requirements/*.pip' - name: "Install tools" run: | @@ -153,6 +155,8 @@ jobs: uses: actions/setup-python@v2 with: python-version: "3.8" + cache: pip + cache-dependency-path: 'requirements/*.pip' - name: "Install tools" run: | @@ -183,6 +187,8 @@ jobs: uses: actions/setup-python@v2 with: python-version: "pypy3" + cache: pip + cache-dependency-path: 'requirements/*.pip' - name: "Install requirements" run: | @@ -226,6 +232,8 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.py }} + cache: pip + cache-dependency-path: 'requirements/*.pip' - name: "Install wheel tools" run: | diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index fe7b31fe..2eb64b59 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -34,6 +34,8 @@ jobs: uses: "actions/setup-python@v2" with: python-version: "3.8" + cache: pip + cache-dependency-path: 'requirements/*.pip' - name: "Install dependencies" run: | @@ -58,6 +60,8 @@ jobs: uses: "actions/setup-python@v2" with: python-version: "3.8" + cache: pip + cache-dependency-path: 'requirements/*.pip' - name: "Install dependencies" run: | diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 53cd24b8..b83b37bb 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -54,6 +54,8 @@ jobs: uses: "actions/setup-python@v2" with: python-version: "${{ matrix.python-version }}" + cache: pip + cache-dependency-path: 'requirements/*.pip' - name: "Install dependencies" run: | |