summaryrefslogtreecommitdiff
path: root/.github/workflows/codeqa-test.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/codeqa-test.yml')
-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