Storage #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: "Kubeconform" | |
on: | |
pull_request: | |
branches: ["main"] | |
paths: ["kubernetes/**"] | |
env: | |
KUBERNETES_DIR: ./kubernetes | |
jobs: | |
kubeconform: | |
name: Kubeconform | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Setup Workflow Tools | |
run: brew install fluxcd/tap/flux kubeconform kustomize | |
- name: Run kubeconform | |
shell: bash | |
run: bash ./scripts/kubeconform.sh ${{ env.KUBERNETES_DIR }} |