CONFIG: estandarizar estructura de github (acciones, plantillas y dependabot)

This commit is contained in:
Nachou-u
2026-09-08 10:33:54 -03:00
parent 7303d04776
commit 06edac1275
6 changed files with 122 additions and 11 deletions
+33
View File
@@ -0,0 +1,33 @@
name: CI/CD Pipeline
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Django Syntax Check
env:
SECRET_KEY: 'test-key-for-ci'
DEBUG: 'True'
DATABASE_URL: 'sqlite:///:memory:'
run: |
python manage.py check