Skip to content

Merge pull request #129 from janlauber/dependabot/go_modules/github.c… #239

Merge pull request #129 from janlauber/dependabot/go_modules/github.c…

Merge pull request #129 from janlauber/dependabot/go_modules/github.c… #239

Workflow file for this run

name: Kubernetes Operator CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test-operator:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
check-latest: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Update controller-gen
run: |
go install sigs.k8s.io/controller-tools/cmd/controller-gen@latest
controller-gen --version
- name: Build Docker Image
run: make docker-build
working-directory: ./
- name: Run Tests
run: make test
working-directory: ./