ci: cache pip packages
Build Python Package / build (push) Failing after 31s

This commit is contained in:
2025-02-04 02:05:26 +01:00
parent 5f49401763
commit 968afff225
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -10,6 +10,9 @@ pipx install poetry
# Add Poetry to PATH # Add Poetry to PATH
echo "$HOME/.poetry/bin" >> $GITHUB_PATH echo "$HOME/.poetry/bin" >> $GITHUB_PATH
# Configure Poetry
poetry config virtualenvs.create false
poetry check poetry check
poetry lock --check poetry lock --check
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: "3.13.1" python-version: "3.13.1"
cache: "poetry" cache: "pip"
- name: Run setup script - name: Run setup script
run: .gitea/scripts/setup-poetry.sh run: .gitea/scripts/setup-poetry.sh
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: "3.13.1" python-version: "3.13.1"
cache: "poetry" cache: "pip"
- name: Run setup script - name: Run setup script
run: .gitea/scripts/setup-poetry.sh run: .gitea/scripts/setup-poetry.sh