fix: k8s client setup if agent service account auth is not used #123
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: golangci-lint | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - release-0.31 | |
| - release-0.32 | |
| pull_request: | |
| permissions: | |
| contents: read | |
| env: | |
| GO_VERSION: v1.23.6 | |
| GOLANGCI_LINT_VERSION: v1.60.1 | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v6 | |
| with: | |
| version: ${{ env.GOLANGCI_LINT_VERSION }} | |
| args: --verbose |