diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-30 19:25:59 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-30 19:25:59 -0500 |
commit | 34fddf9f5c07ea10aa2fe7e1eeac6fe8967a8fc5 (patch) | |
tree | 2a209307d09728992287a27d5c2c101e96c5d638 | |
parent | 8a6b7ef5416a755f3af3c131c7d406e901e3cb50 (diff) | |
download | cmd2-git-34fddf9f5c07ea10aa2fe7e1eeac6fe8967a8fc5.tar.gz |
Remove GitHub Actions cache step because it wasn't working correctly
-rw-r--r-- | .github/workflows/ci.yml | 8 | ||||
-rw-r--r-- | .github/workflows/doc.yml | 8 | ||||
-rw-r--r-- | .github/workflows/lint.yml | 8 |
3 files changed, 3 insertions, 21 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 285272ba..03f7fd4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,16 +33,10 @@ jobs: uses: actions/setup-python@v2 # https://github.com/actions/setup-python with: python-version: ${{ matrix.python-version }} - - name: Cache dependencies - id: cache-deps - uses: actions/cache@v2 # https://github.com/actions/cache - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }} - name: Install python prerequisites # Only install dependencies when there is a cache miss if: steps.cache-deps.outputs.cache-hit != 'true' - run: pip install -U --user pip setuptools setuptools-scm flake8 nox + run: pip install -U --user pip setuptools setuptools-scm nox - name: Run tests and post coverage results env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 0253c2eb..8f982683 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -33,15 +33,9 @@ jobs: uses: actions/setup-python@v2 # https://github.com/actions/setup-python with: python-version: ${{ matrix.python-version }} - - name: Cache dependencies - id: cache-deps - uses: actions/cache@v2 # https://github.com/actions/cache - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }} - name: Install python prerequisites # Only install dependencies when there is a cache miss if: steps.cache-deps.outputs.cache-hit != 'true' - run: pip install -U --user pip setuptools setuptools-scm flake8 nox + run: pip install -U --user pip setuptools setuptools-scm nox - name: Sphinx documentation build run: python -m nox --non-interactive --session docs diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 241be8ab..328df22f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -33,15 +33,9 @@ jobs: uses: actions/setup-python@v2 # https://github.com/actions/setup-python with: python-version: ${{ matrix.python-version }} - - name: Cache dependencies - id: cache-deps - uses: actions/cache@v2 # https://github.com/actions/cache - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }} - name: Install python prerequisites # Only install dependencies when there is a cache miss if: steps.cache-deps.outputs.cache-hit != 'true' - run: pip install -U --user pip setuptools setuptools-scm flake8 nox + run: pip install -U --user pip setuptools setuptools-scm flake8 - name: Lint run: python -m flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ; |