Skip to content

fix(ci): remove v1 issues section from golangci.yml; move Quick Start… #26

fix(ci): remove v1 issues section from golangci.yml; move Quick Start…

fix(ci): remove v1 issues section from golangci.yml; move Quick Start… #26

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Download setup-envtest
run: |
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
setup-envtest use --bin-dir ./bin/k8s -p path
- name: Running Tests
run: |
go mod tidy
KUBEBUILDER_ASSETS="$(setup-envtest use --bin-dir ./bin/k8s -p path)" \
go test $(go list ./... | grep -v /e2e) -coverprofile cover.out