Skip to content

Commit

Permalink
Use cache suffixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jul 18, 2024
1 parent 65719d7 commit 0dcc300
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: hynek/setup-cached-uv@v1
with:
cache-suffix: -tests

- name: Prepare & run Nox
run: |
Expand Down Expand Up @@ -83,6 +85,8 @@ jobs:
with:
python-version-file: .python-version-default
- uses: hynek/setup-cached-uv@v1
with:
cache-suffix: -coverage

- uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -130,6 +134,9 @@ jobs:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: hynek/setup-cached-uv@v1
with:
cache-suffix: -mypy-api


- run: uv pip install --system nox "tomli; python_version<'3.11'"

Expand Down Expand Up @@ -161,6 +168,8 @@ jobs:
with:
python-version-file: .python-version-default
- uses: hynek/setup-cached-uv@v1
with:
cache-suffix: -mypy-pkg

- name: Prepare & run Nox
run: |
Expand All @@ -184,6 +193,8 @@ jobs:
# Keep in sync with .readthedocs.yaml
python-version: "3.12"
- uses: hynek/setup-cached-uv@v1
with:
cache-suffix: -mypy-docs

- name: Prepare & run Nox
run: |
Expand All @@ -204,6 +215,8 @@ jobs:
with:
python-version-file: .python-version-default
- uses: hynek/setup-cached-uv@v1
with:
cache-suffix: -dev

- name: Install in dev mode
run: |
Expand Down

0 comments on commit 0dcc300

Please sign in to comment.