Skip to content

tests: add unit tests #29

tests: add unit tests

tests: add unit tests #29

name: Build Controller Check
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22'
- name: Install dependencies
run: go mod download
- name: Test
run: go test -v ./controllers/...
- name: Build
run: go build -v ./...