Skip to content

Commit

Permalink
Mettre à jour le workflow Kubelinter pour utiliser l'option --output-…
Browse files Browse the repository at this point in the history
…format lors de la génération du rapport
  • Loading branch information
AlxFrst committed Apr 18, 2024
1 parent fc374b0 commit 8bfa8d9
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/kubelinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
name: kube-linter-report
path: kube-linter-report.txt

0 comments on commit 8bfa8d9

Please sign in to comment.