Update module github.com/onsi/ginkgo to v2 #1098
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and Build Binary | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test-build: | |
name: test-build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
- name: Install kubebuilder | |
run: | | |
curl -L -o kubebuilder https://go.kubebuilder.io/dl/latest/$(go env GOOS)/$(go env GOARCH) | |
chmod +x kubebuilder | |
mv kubebuilder /usr/local/bin/ | |
- name: Create k8s Kind cluster | |
uses: helm/[email protected] | |
- name: Run tests against k8s Kind cluster | |
run: make e2e | |
- name: Build | |
run: make build |