Skip to content

Commit

Permalink
Enable the uv cache in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtheturtle committed Feb 21, 2025
1 parent fb352fb commit c949c63
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: '**/pyproject.toml'

- name: Set secrets file
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: '**/pyproject.toml'

- name: Lint
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: '**/pyproject.toml'

- name: Calver calculate version
uses: StephaneBour/actions-calver@master
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/skip-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: '**/pyproject.toml'

- name: Set secrets file
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: '**/pyproject.toml'

- name: Set secrets file
run: |
Expand Down

0 comments on commit c949c63

Please sign in to comment.