Skip to content

refactor operator group cluster role name #84

refactor operator group cluster role name

refactor operator group cluster role name #84

Workflow file for this run

name: unit
env:
K8S_VERSION: 1.19.2
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- name: Envtest setup
run: |
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
setup-envtest use ${K8S_VERSION}
- name: Run unit tests
run: KUBEBUILDER_ASSETS=$(setup-envtest use -i -p path ${K8S_VERSION}) make unit