SIENTIAPDE-1252: Update Python setup action and simplify dependency caching in quality gate workflow
This commit is contained in:
14
.github/workflows/quality-gate.yml
vendored
14
.github/workflows/quality-gate.yml
vendored
@@ -193,17 +193,13 @@ jobs:
|
|||||||
df -h
|
df -h
|
||||||
|
|
||||||
- name: 🔧 Setup Python
|
- name: 🔧 Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.11"
|
python-version: "3.11"
|
||||||
|
cache: 'pip'
|
||||||
- name: 🗄️ Cache Python dependencies
|
cache-dependency-path: |
|
||||||
uses: actions/cache@v3
|
requirements.txt
|
||||||
with:
|
requirements-dev.txt
|
||||||
path: ~/.cache/pip
|
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt', 'requirements-dev.txt') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-pip-
|
|
||||||
|
|
||||||
- name: 📦 Install Dependencies
|
- name: 📦 Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user