Skip to content

Commit 48bee52

Browse files
Update GitHub Actions workflow for Python app
Updated actions/checkout version and added step to clear Python tool cache.
1 parent 8eb60c2 commit 48bee52

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: Check out repository
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040
# - name: Fix pip entries
4141
# run: |
4242
# python3 -m pip uninstall -y pip
@@ -55,11 +55,15 @@ jobs:
5555
# fi
5656
# - name: Force reinstall pip
5757
# run: python3 -m ensurepip --upgrade
58+
- name: Clear Python tool cache
59+
run: |
60+
echo "Clearing Python tool cache at $RUNNER_TOOL_CACHE..."
61+
rm -rf "$RUNNER_TOOL_CACHE/Python"
5862
- name: Set up Python
5963
uses: actions/setup-python@v6
6064
with:
6165
python-version: 3.13.9
62-
pip-version: '25.0.1'
66+
# pip-version: '25.0.1'
6367
cache: 'pip'
6468

6569

0 commit comments

Comments
 (0)