Skip to content

Commit

Permalink
Update docs CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
morganjwilliams committed Nov 2, 2022
1 parent 6658f74 commit a662340
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/docstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,12 @@ jobs:
os: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Get pip cache dir
id: pip-cache-dir
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
id: pip-cache
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache-dir.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
cache: pip
cache-dependency-path: 'setup.py'
- name: Python Packages Install
run: |
python -m pip install --upgrade pip # upgrade pip
Expand Down

0 comments on commit a662340

Please sign in to comment.