Skip to content

Commit 34fddf9

Browse files
committed
Remove GitHub Actions cache step because it wasn't working correctly
1 parent 8a6b7ef commit 34fddf9

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,10 @@ jobs:
3333
uses: actions/setup-python@v2 # https://github.com/actions/setup-python
3434
with:
3535
python-version: ${{ matrix.python-version }}
36-
- name: Cache dependencies
37-
id: cache-deps
38-
uses: actions/cache@v2 # https://github.com/actions/cache
39-
with:
40-
path: ~/.cache/pip
41-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
4236
- name: Install python prerequisites
4337
# Only install dependencies when there is a cache miss
4438
if: steps.cache-deps.outputs.cache-hit != 'true'
45-
run: pip install -U --user pip setuptools setuptools-scm flake8 nox
39+
run: pip install -U --user pip setuptools setuptools-scm nox
4640
- name: Run tests and post coverage results
4741
env:
4842
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/doc.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@ jobs:
3333
uses: actions/setup-python@v2 # https://github.com/actions/setup-python
3434
with:
3535
python-version: ${{ matrix.python-version }}
36-
- name: Cache dependencies
37-
id: cache-deps
38-
uses: actions/cache@v2 # https://github.com/actions/cache
39-
with:
40-
path: ~/.cache/pip
41-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
4236
- name: Install python prerequisites
4337
# Only install dependencies when there is a cache miss
4438
if: steps.cache-deps.outputs.cache-hit != 'true'
45-
run: pip install -U --user pip setuptools setuptools-scm flake8 nox
39+
run: pip install -U --user pip setuptools setuptools-scm nox
4640
- name: Sphinx documentation build
4741
run: python -m nox --non-interactive --session docs

.github/workflows/lint.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@ jobs:
3333
uses: actions/setup-python@v2 # https://github.com/actions/setup-python
3434
with:
3535
python-version: ${{ matrix.python-version }}
36-
- name: Cache dependencies
37-
id: cache-deps
38-
uses: actions/cache@v2 # https://github.com/actions/cache
39-
with:
40-
path: ~/.cache/pip
41-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
4236
- name: Install python prerequisites
4337
# Only install dependencies when there is a cache miss
4438
if: steps.cache-deps.outputs.cache-hit != 'true'
45-
run: pip install -U --user pip setuptools setuptools-scm flake8 nox
39+
run: pip install -U --user pip setuptools setuptools-scm flake8
4640
- name: Lint
4741
run: python -m flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ;

0 commit comments

Comments
 (0)