summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2021-12-22 15:55:10 +0200
committerAlex Grönholm <alex.gronholm@nextday.fi>2021-12-22 15:55:10 +0200
commit45af6b0f420b7a90af417b3846b0bdfe1c6a70d4 (patch)
treea2f785eb3ea409239e1a91c4c4f622f760ee6572 /.github/workflows
parentc87f4c0e7be584d15a78804b73968aa90f726691 (diff)
downloadwheel-git-45af6b0f420b7a90af417b3846b0bdfe1c6a70d4.tar.gz
Added caching for pip
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/codeqa-test.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/codeqa-test.yml b/.github/workflows/codeqa-test.yml
index 9c27901..1450f52 100644
--- a/.github/workflows/codeqa-test.yml
+++ b/.github/workflows/codeqa-test.yml
@@ -13,6 +13,10 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.x
+ - uses: actions/cache@v2
+ with:
+ path: ~/.cache/pip
+ key: pip-lint
- name: Install dependencies
run: pip install flake8
- name: Run flake8
@@ -45,6 +49,10 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
+ - uses: actions/cache@v2
+ with:
+ path: ~/.cache/pip
+ key: pip-test-${{ matrix.python-version }}-${{ matrix.os }}
- name: Install the project
run: "pip install --no-binary=:all: ."
- name: Install test dependencies