Skip to content

Commit c4ebdf1

Browse files
Keep archaeology workflow setup deterministic
The scheduled archaeology workflow failed before DevArch could run because setup-python's pip cache could not find default dependency files in this setup.py-based repo. The workflow now points cache-dependency-path at setup.py and quotes GITHUB_ENV in the bootstrap step. Verification: - actionlint .github/workflows/archaeology.yml - git diff --check - PR CI 26353979088 passed across lint plus Linux/macOS/Windows Python matrix - CodeRabbit reported no actionable comments
1 parent 5c0d20a commit c4ebdf1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/archaeology.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
with:
3737
python-version: '3.12'
3838
cache: 'pip'
39+
cache-dependency-path: setup.py
3940

4041
- name: Install DevArch
4142
run: pip install devarch-framework
@@ -44,7 +45,7 @@ jobs:
4445
run: |
4546
PROJECT_NAME="${{ inputs.project_name || github.event.repository.name }}"
4647
devarch init "$PROJECT_NAME"
47-
echo "PROJECT_NAME=$PROJECT_NAME" >> $GITHUB_ENV
48+
echo "PROJECT_NAME=$PROJECT_NAME" >> "$GITHUB_ENV"
4849
4950
- name: Mine git history
5051
run: devarch mine . -p "$PROJECT_NAME"

0 commit comments

Comments
 (0)