diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f6c00c82..aee08e91 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,11 +4,11 @@ on: pull_request: paths: - ".github/workflows/docs.yml" - - 'docs/**' + - "docs/**" push: paths: - ".github/workflows/docs.yml" - - 'docs/**' + - "docs/**" concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} @@ -20,12 +20,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v1 - - uses: actions/setup-python@v2 - name: Install Python - with: - python-version: '3.9' + - uses: actions/setup-python@v3 + name: Install Python + with: + python-version: "3.9" + cache: "pip" - - name: Build documentation - run: pipx run nox -s docs + - name: Build documentation + run: pipx run nox -s docs diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7342c0c5..1f7df0a5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,10 +22,11 @@ jobs: steps: - uses: actions/checkout@v1 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v3 name: Install Python with: python-version: "3.9" + cache: "pip" - name: Run `nox -s lint` run: pipx run nox -s lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 03f98ef8..58f6ee23 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,10 +28,11 @@ jobs: steps: - uses: actions/checkout@v1 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v3 name: Install Python ${{ matrix.python_version }} with: python-version: ${{ matrix.python_version }} + cache: "pip" # PyPy 3.9 for Windows changed the binary name from pypy3 to pypy3.9 # PyPy 3.7 & 3.8 for Windows still only have pypy3