Update helm/chart-testing-action action to v2.7.0 (#276) #1327
This file contains hidden or 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/setup-go@v6 | |
| with: | |
| go-version: ^1.25 | |
| - uses: actions/checkout@v5 | |
| - 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/kind-action@v1 | |
| - name: Run tests against k8s Kind cluster | |
| run: make e2e | |
| - name: Build | |
| run: make build |