fix: guard ref names in billingaccountbinding create policy #375
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: Tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Run on Ubuntu | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone the code | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '~1.24.0' | |
| - name: Install setup-envtest | |
| run: go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.21 | |
| - name: Running Tests | |
| run: | | |
| KUBEBUILDER_ASSETS="$(setup-envtest use 1.31.0 -p path)" go test -timeout 5m ./... |