Skip to content

build(deps): bump github.com/operator-framework/api from v0.23.0 to v… #99

build(deps): bump github.com/operator-framework/api from v0.23.0 to v…

build(deps): bump github.com/operator-framework/api from v0.23.0 to v… #99

Workflow file for this run

name: unit
env:
K8S_VERSION: 1.19.2
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
merge_group:
issue_comment:
types: [created] # Triggers the workflow when a comment is created. see `if` section
jobs:
unit:
if: >-
github.event_name != 'issue_comment' || startsWith(github.event.comment.body, '/retest unit')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
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