Skip to content

Pin mainframe sha-6cd80f922ae527112b36cfe8f09fb2 #202

Pin mainframe sha-6cd80f922ae527112b36cfe8f09fb2

Pin mainframe sha-6cd80f922ae527112b36cfe8f09fb2 #202

---
name: Kubernetes CI
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
lint:
name: Lint manifests
strategy:
fail-fast: false
matrix:
kubernetes-version:
- '1.30'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.22'
- name: Install `kubectl-validate`
run: go install -ldflags='-s -w' -race -trimpath sigs.k8s.io/kubectl-validate@latest
- name: Lint manifests
run: |-
kubectl-validate kubernetes/manifests/ \
--local-crds kubernetes/crds/ \
--version '${{ matrix.kubernetes-version }}'