Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

docs: adding instructions for updating CRDs API and RBAC permissions #14

docs: adding instructions for updating CRDs API and RBAC permissions

docs: adding instructions for updating CRDs API and RBAC permissions #14

Workflow file for this run

name: Check and build Kardinal Operator
permissions:
id-token: write
contents: read
on:
push:
branches:
- main
tags:
- "v*.*.*"
pull_request:
branches:
- main
jobs:
check_go:
name: Check Go
runs-on: ubuntu-22.04
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '^1.22.0'
- name: Check Go formatting
run: |
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
exit 1
fi
build:
name: Build
needs: [check_go]
runs-on: ubuntu-22.04
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Build operator binary
run: make build
- name: Linter
run: make lint