Skip to content

Mainframe pin ad896dbae3d046e7f4a16e4293dcaeea60 #111

Mainframe pin ad896dbae3d046e7f4a16e4293dcaeea60

Mainframe pin ad896dbae3d046e7f4a16e4293dcaeea60 #111

Workflow file for this run

---
name: CI - Kubernetes
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.27'
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: '1.21'
- 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 }}'