Skip to content

Commit

Permalink
Use cache suffixes (#62)
Browse files Browse the repository at this point in the history
* Use cache suffixes

* Purge caches

* Fix name

* oops

* Try current PR

* Add weekly cache-busting

* Use an output

* Style

* typo

* Leave it opaque

* Do we need explicit dependency to use the output?

* update action

* Weekly cache-busting is built in now

* don't need this anymore

* one last test

* use v2
  • Loading branch information
hynek authored Jul 26, 2024
1 parent 6007888 commit 5b10aa4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: hynek/setup-cached-uv@v1
- uses: hynek/setup-cached-uv@v2

- name: Prepare & run Nox
run: |
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version-file: .python-version-default
- uses: hynek/setup-cached-uv@v1
- uses: hynek/setup-cached-uv@v2

- uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: hynek/setup-cached-uv@v1
- uses: hynek/setup-cached-uv@v2

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

Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version-file: .python-version-default
- uses: hynek/setup-cached-uv@v1
- uses: hynek/setup-cached-uv@v2

- name: Prepare & run Nox
run: |
Expand All @@ -183,7 +183,7 @@ jobs:
with:
# Keep in sync with .readthedocs.yaml
python-version: "3.12"
- uses: hynek/setup-cached-uv@v1
- uses: hynek/setup-cached-uv@v2

- name: Prepare & run Nox
run: |
Expand All @@ -203,7 +203,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version-file: .python-version-default
- uses: hynek/setup-cached-uv@v1
- uses: hynek/setup-cached-uv@v2

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

0 comments on commit 5b10aa4

Please sign in to comment.