Update actions/checkout action to v4.2.2 #1046
Workflow file for this run
  
    
      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/checkout@v4.2.1 | |
| - 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/kind-action@v1.10.0 | |
| - name: Run tests against k8s Kind cluster | |
| run: make e2e | |
| - name: Build | |
| run: make build |