From 8bfa8d9cad03f67153984b968354bde794c51233 Mon Sep 17 00:00:00 2001 From: AlxFrst Date: Thu, 18 Apr 2024 12:02:42 +0200 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20le=20workflow=20Kubeli?= =?UTF-8?q?nter=20pour=20utiliser=20l'option=20--output-format=20lors=20de?= =?UTF-8?q?=20la=20g=C3=A9n=C3=A9ration=20du=20rapport?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/kubelinter.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/kubelinter.yml b/.github/workflows/kubelinter.yml index 3e9a19f..9761ff0 100644 --- a/.github/workflows/kubelinter.yml +++ b/.github/workflows/kubelinter.yml @@ -20,15 +20,11 @@ jobs: chmod +x kube-linter sudo mv kube-linter /usr/local/bin/ - - name: Lint YAML files and Generate Report - continue-on-error: true - run: | - kubelinter lint ./ --output-format=checkstyle > kubelinter-report.txt - cat kubelinter-report.txt - + - name: Lint YAML files in the repository + run: kube-linter lint . > kube-linter-report.txt - - name: Upload Report as Artifact + - name: Upload report as an artifact uses: actions/upload-artifact@v4 with: - name: kubelinter-report - path: kubelinter-report.txt \ No newline at end of file + name: kube-linter-report + path: kube-linter-report.txt \ No newline at end of file