Skip to content

Commit df6c7af

Browse files
committed
enable caching on CI
1 parent 2c053b9 commit df6c7af

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.github/workflows/azure-static-web-app.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ jobs:
1919
timeout-minutes: 5
2020
steps:
2121
- uses: actions/checkout@v5
22-
- name: Set up uv
23-
shell: bash
24-
run: pipx install uv
22+
- name: Set up uv with caching enabled
23+
uses: astral-sh/setup-uv@v6
24+
with:
25+
enable-cache: true
2526
- name: Set up Python ${{ matrix.python-version }}
2627
uses: actions/setup-python@v5
2728
with:

.github/workflows/github-pages.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ jobs:
2424
path: .cache
2525
restore-keys: |
2626
mkdocs-material-
27-
- name: Set up uv
28-
shell: bash
29-
run: pipx install uv
27+
- name: Set up uv with caching enabled
28+
uses: astral-sh/setup-uv@v6
29+
with:
30+
enable-cache: true
3031
- run: make install-deps-docs
3132
- run: uv run mkdocs gh-deploy --force

.github/workflows/news_summarizer_agent.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ jobs:
4848
timeout-minutes: 5
4949
steps:
5050
- uses: actions/checkout@v5
51-
- name: Set up uv
52-
shell: bash
53-
run: pipx install uv
51+
- name: Set up uv with caching enabled
52+
uses: astral-sh/setup-uv@v6
53+
with:
54+
enable-cache: true
5455
- name: Set up Python 3.13
5556
uses: actions/setup-python@v5
5657
with:

.github/workflows/test.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ jobs:
2222
timeout-minutes: 5
2323
steps:
2424
- uses: actions/checkout@v5
25-
- name: Set up uv
26-
shell: bash
27-
run: pipx install uv
25+
- name: Set up uv with caching enabled
26+
uses: astral-sh/setup-uv@v6
27+
with:
28+
enable-cache: true
2829
- name: Set up Python ${{ matrix.python-version }}
2930
uses: actions/setup-python@v5
3031
with:

0 commit comments

Comments
 (0)