Skip to content

Merge pull request #2204 from kubernetes-sigs/cleanup-registrar-liven… #6230

Merge pull request #2204 from kubernetes-sigs/cleanup-registrar-liven…

Merge pull request #2204 from kubernetes-sigs/cleanup-registrar-liven… #6230

Workflow file for this run

name: Ubuntu Build & Unit Test
on:
pull_request: {}
push: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Build Test
run: |
make
- name: Unit Test
run: go test -race -covermode=atomic -coverprofile=profile.cov ./pkg/...
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=profile.cov -service=github