Skip to content

Commit

Permalink
Try this one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Nov 7, 2023
1 parent 8259f2c commit 9736002
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Setup EnvTest
run: go run sigs.k8s.io/controller-runtime/tools/setup-envtest@latest use --bin-dir /tmp/kubebuilder 1.28.x
- name: Test
env:
KUBEBUILDER_ASSETS: /tmp/kubebuilder
run: go test -v ./...
run: KUBEBUILDER_ASSETS=$(go run sigs.k8s.io/controller-runtime/tools/setup-envtest@latest use -p path 1.28.x) go test -v ./...

0 comments on commit 9736002

Please sign in to comment.