Skip to content

Commit 42ee706

Browse files
authored
Merge pull request #6 from endlessm/set-cache-dependency-glob
Set cache dependency glob
2 parents 8f98c15 + 5ad6b12 commit 42ee706

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: action.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ runs:
1111
using: composite
1212
steps:
1313
- uses: astral-sh/setup-uv@v5
14+
with:
15+
cache-dependency-glob: "${{ github.action_path }}/uv.lock"
16+
pyproject-file: "${{ github.action_path }}/pyproject.toml"
1417

1518
- uses: actions/setup-python@v5
1619
with:
@@ -19,8 +22,8 @@ runs:
1922
- name: Assemble site from all live branches
2023
id: assemble
2124
shell: bash
25+
working-directory: ${{ github.action_path }}
2226
run: |
23-
cd ${{ github.action_path }}
2427
uv run --frozen godoctopus.py
2528
env:
2629
GITHUB_TOKEN: ${{ github.token }}

Diff for: pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ dependencies = [
99
"jinja2>=3.1.5",
1010
"requests>=2.28.1",
1111
]
12+
13+
[tool.uv]
14+
required-version = ">=0.5.0"

0 commit comments

Comments
 (0)