Skip to content

Revert "Merge release/v2/preview to main (#71)" (#72) #227

Revert "Merge release/v2/preview to main (#71)" (#72)

Revert "Merge release/v2/preview to main (#71)" (#72) #227

Workflow file for this run

name: AppConfiguration-KubernetesProvider CI
on:
push:
branches:
- main
- 'release/*'
pull_request:
branches:
- main
- 'release/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Run Build
run: go build -o ./out/manager ./cmd/main.go
- name: Run Test
run: |
echo 'Install evntest tool'
GOBIN=$GITHUB_WORKSPACE go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
echo 'Run tests'
KUBEBUILDER_ASSETS=$($GITHUB_WORKSPACE/setup-envtest use 1.19 -p path) CGO_ENABLED=0 go test ./... -coverprofile cover.out