Replace kube-rbac-proxy to ensure the same level of protection with c… #4764
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: unit-test | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| merge_group: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| unit-test-basic: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Run basic unit tests | |
| run: | | |
| make test-unit | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| disable_search: true | |
| files: coverage/unit.out | |
| flags: unit | |
| token: ${{ secrets.CODECOV_TOKEN }} |