Skip to content

Commit

Permalink
Try this way
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Nov 7, 2023
1 parent 4e415ed commit 8259f2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ on: [push]
jobs:
test:
runs-on: ubuntu-latest
env:
KUBEBUILDER_ASSETS: /tmp/kubebuilder
steps:
- uses: actions/checkout@v3
- name: Set up Go
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 --use-env
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 ./...

0 comments on commit 8259f2c

Please sign in to comment.