We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76aa09c commit bed2df1Copy full SHA for bed2df1
1 file changed
.github/workflows/ci.yml
@@ -43,6 +43,27 @@ jobs:
43
uses: actions/setup-python@v5
44
with:
45
python-version: 3.11
46
+
47
+ # Configuración Rápida con Cacheo de Dependencias
48
+ - name: Cache dependencies
49
+ uses: actions/cache@v3
50
+ with:
51
+ path: ~/.cache/pip
52
+ key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
53
+ restore-keys: |
54
+ ${{ runner.os }}-pip-
55
56
+ # Paso para formateo con Black
57
+ - name: Check formatting with Black
58
+ run: |
59
+ pip install black
60
+ black --check --diff src/ tests/
61
62
+ # Paso para linting con Flake8
63
+ - name: Lint with Flake8
64
65
+ pip install flake8
66
+ flake8 src/ tests/ --count --max-complexity=10 --max-line-length=88 --statistics
67
68
- name: 📦 Instalar dependencias
69
run: |
0 commit comments