Skip to content

Commit

Permalink
ci(kubernetes-ci): test out k8s-lint fork
Browse files Browse the repository at this point in the history
Signed-off-by: Siddhesh Mhadnak <[email protected]>
  • Loading branch information
sid-maddy committed Nov 3, 2023
1 parent 17d93f5 commit 861e822
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/kubernetes-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
name: CI - Kubernetes

on:
pull_request:
push:
branches:
- main
pull_request:

jobs:
lint:
name: Lint manifests

runs-on: ubuntu-latest

runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- id: manifest-files
name: Find manifest files
- name: Find manifests
id: manifests
shell: bash
run: |
echo "manifests<<EOF" >> $GITHUB_OUTPUT
python scripts/find_manifests.py >> $GITHUB_OUTPUT
python3 scripts/find_manifests.py >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- uses: azure/k8s-lint@3b7cb68584cd614174f4e2dad0b6d48dbf651ccc
- name: Lint manifests
uses: sid-maddy/k8s-lint@1d1dad469282c4522aa329f32b158a7111707350
with:
manifests: ${{ steps.manifest-files.outputs.manifests }}
manifests: ${{ steps.manifests.outputs.manifests }}

0 comments on commit 861e822

Please sign in to comment.