From f9e267f8cc080922bf06ac4bf013217cb52d334f Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 22 Feb 2024 13:31:05 +0000 Subject: [PATCH] Add YAML Validation step to action --- .gitea/workflows/generate.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/generate.yaml b/.gitea/workflows/generate.yaml index 032f243..07696fa 100644 --- a/.gitea/workflows/generate.yaml +++ b/.gitea/workflows/generate.yaml @@ -7,10 +7,12 @@ on: - main jobs: - Testing: + validate_and_release: runs-on: ubuntu-latest steps: - name: Check out Repo code uses: actions/checkout@v3 - - name: Echo - run: echo "The ${{ gitea.repository }} has been cloned to the runner" \ No newline at end of file + - name: Validate YAML + uses: ibiqlik/action-yamllint@v3 + with: + file_or_dir: '*.yaml'