📦 build(ci): aggiungi workflow CI, release e manutenzione python
- aggiunto esempio workflow CI per python con quality gates
- aggiunto esempio workflow manutenzione con branch cleanup, audit sicurezza e check pacchetti obsoleti
- aggiunto esempio workflow release per build docker e auto-release gitea
📦 build(shared-actions): aggiungi shared-actions python per CI/CD
- aggiunto python-quality-gates.yml per lint, format, type check e test
- aggiunto python-auto-release.yml per changelog e rilascio automatico
- aggiunto python-docker-release.yml per build e push immagini docker
- aggiunto python-dependency-check.yml per audit sicurezza dipendenze
- aggiunto python-dependency-outdated.yml per verifica pacchetti obsoleti
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# Copia in: .gitea/workflows/ci.yml
|
||||
# Usato da: microservizi Python con FastAPI / pyproject.toml
|
||||
#
|
||||
# Requisiti pyproject.toml:
|
||||
# [project.optional-dependencies]
|
||||
# dev = ["ruff", "mypy", "pytest", ...]
|
||||
#
|
||||
# Input opzionali:
|
||||
# python-version: '3.11' # default già impostato
|
||||
# install-extras: 'dev' # default già impostato
|
||||
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
quality-gates:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/python-quality-gates.yml@v1
|
||||
secrets: inherit
|
||||
# with:
|
||||
# python-version: '3.11' # opzionale, default già impostato
|
||||
# install-extras: 'dev' # opzionale, default già impostato
|
||||
Reference in New Issue
Block a user