From d56a2d8bbc8e6c3c5d3f9d0d6082593db076e652 Mon Sep 17 00:00:00 2001 From: uzurka Date: Thu, 19 Dec 2024 22:16:33 +0100 Subject: [PATCH] Added CI --- .gitea/workflows/yamllint.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/yamllint.yml b/.gitea/workflows/yamllint.yml index 86555d7..50269e6 100644 --- a/.gitea/workflows/yamllint.yml +++ b/.gitea/workflows/yamllint.yml @@ -1,14 +1,15 @@ ---- -stages: - - validate +name: CI Workflow +on: + push: + branches: + - '*' # Exécute le workflow sur toutes les branches -.template: - interruptible: true - stage: validate - tags: - - ansible - -yamllint: - extends: .template - script: - - yamllint -c .yamllint . +jobs: + validate: + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Validate YAML files + run: | + yamllint -c .yamllint .