CI : workflow validate.yml (vérification structure), manifeste ci.required:true
All checks were successful
Validation applicative / Vérification structure (push) Successful in 9s
All checks were successful
Validation applicative / Vérification structure (push) Successful in 9s
This commit is contained in:
21
.gitea/workflows/validate.yml
Normal file
21
.gitea/workflows/validate.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: Validation applicative
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main, master]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
verify:
|
||||||
|
name: Vérification structure
|
||||||
|
runs-on: ci-node22
|
||||||
|
timeout-minutes: 5
|
||||||
|
steps:
|
||||||
|
- name: Récupérer les sources
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Vérifier la structure du projet
|
||||||
|
run: |
|
||||||
|
echo "Vérification de la structure SONUM..."
|
||||||
|
test -f docker-compose.yml && echo "OK: docker-compose.yml" || exit 1
|
||||||
|
echo "Structure valide."
|
||||||
Reference in New Issue
Block a user