ci: cache poetry dependencies
Some checks failed
Build Python Package / build (push) Failing after 24s
Some checks failed
Build Python Package / build (push) Failing after 24s
This commit is contained in:
@@ -10,9 +10,6 @@ pipx install poetry
|
||||
# Add Poetry to PATH
|
||||
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
|
||||
|
||||
# Configure Poetry
|
||||
poetry config virtualenvs.create false
|
||||
|
||||
poetry check
|
||||
|
||||
poetry lock --check
|
||||
|
||||
@@ -14,9 +14,10 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.13.1"
|
||||
cache: "poetry"
|
||||
|
||||
- name: Run setup script
|
||||
run: .gitea/scripts/setup-poetry.sh
|
||||
|
||||
@@ -13,9 +13,10 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.13.1"
|
||||
cache: "poetry"
|
||||
|
||||
- name: Run setup script
|
||||
run: .gitea/scripts/setup-poetry.sh
|
||||
|
||||
Reference in New Issue
Block a user