fix(envconfig): rename CLUSTER_DOMAIN env var to FLAGD_CLUSTER_DOMAIN… #1439
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: Lint checks | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - '[0-9]+.[1-9][0-9]*.x' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - '[0-9]+.[1-9][0-9]*.x' | |
| paths: | |
| - "**.go" | |
| - "**/go.mod" | |
| - "**/go.sum" | |
| - ".golangi.yml" | |
| - ".github/workflows/golangci-lint.yml" | |
| - "!docs/**" | |
| env: | |
| # renovate: datasource=github-releases depName=golangci/golangci-lint | |
| GOLANGCI_LINT_VERSION: "v1.63.4" | |
| GO_VERSION: "~1.23" | |
| jobs: | |
| golangci-lint: | |
| name: golangci-lint | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| check-latest: true | |
| - name: Workspace Init | |
| run: make workspace-init | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6 | |
| with: | |
| working-directory: ./ | |
| version: ${{ env.GOLANGCI_LINT_VERSION }} | |
| args: --config ./.golangci.yml -v |