This commit is contained in:
@ -1,14 +1,15 @@
|
|||||||
---
|
name: CI Workflow
|
||||||
stages:
|
on:
|
||||||
- validate
|
push:
|
||||||
|
branches:
|
||||||
|
- '*' # Exécute le workflow sur toutes les branches
|
||||||
|
|
||||||
.template:
|
jobs:
|
||||||
interruptible: true
|
validate:
|
||||||
stage: validate
|
steps:
|
||||||
tags:
|
- name: Checkout repository
|
||||||
- ansible
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
yamllint:
|
- name: Validate YAML files
|
||||||
extends: .template
|
run: |
|
||||||
script:
|
yamllint -c .yamllint .
|
||||||
- yamllint -c .yamllint .
|
|
||||||
|
Reference in New Issue
Block a user