This commit is contained in:
@ -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 .
|
||||
|
Reference in New Issue
Block a user