Skip to content

Commit

Permalink
Run prettier (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Sep 16, 2024
1 parent 6343f7c commit 9f1f1fe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
npm install
- run: |
npm run all
- name: Make sure no changes from linters are detected
run: |
git diff --exit-code
test-default-version:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ the GitHub Actions Cache. This can speed up runs that reuse the cache by several

> [!TIP]
>
> On self-hosted runners this is usually not needed since the cache generated by uv
> on the runner's filesystem is not removed after a run.
> For more details see [Local cache path](#local-cache-path).
> On self-hosted runners this is usually not needed since the cache generated by uv on the runner's
> filesystem is not removed after a run. For more details see [Local cache path](#local-cache-path).

You can optionally define a custom cache key suffix.

Expand Down Expand Up @@ -101,8 +100,7 @@ If you want to control when the cache is invalidated, specify a glob pattern wit
`cache-dependency-glob` input. The cache will be invalidated if any file matching the glob pattern
changes. The glob matches files relative to the repository root.

> [!NOTE]
> The default is `**/uv.lock`.
> [!NOTE] The default is `**/uv.lock`.

```yaml
- name: Define a cache dependency glob
Expand Down Expand Up @@ -132,9 +130,8 @@ changes. The glob matches files relative to the repository root.

### Local cache path

This action controls where uv stores its cache on the runner's filesystem.
You can change the default (`/tmp/setup-uv-cache`) by
specifying the path with the `cache-local-path` input.
This action controls where uv stores its cache on the runner's filesystem. You can change the
default (`/tmp/setup-uv-cache`) by specifying the path with the `cache-local-path` input.

```yaml
- name: Define a custom uv cache path
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ inputs:
default: "false"
cache-dependency-glob:
description:
'Glob pattern to match files relative to the repository root to control
the cache.'
"Glob pattern to match files relative to the repository root to control
the cache."
default: "**/uv.lock"
cache-suffix:
description: "Suffix for the cache key"
Expand Down

0 comments on commit 9f1f1fe

Please sign in to comment.