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
|
||||
|
||||
- name: 🔧 Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: 🗄️ Cache Python dependencies
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt', 'requirements-dev.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
cache: 'pip'
|
||||
cache-dependency-path: |
|
||||
requirements.txt
|
||||
requirements-dev.txt
|
||||
|
||||
- name: 📦 Install Dependencies
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user