Skip to content

azurerm_kubernetes_flux_configuration - Updating fluxconfiguration sdk #34544

azurerm_kubernetes_flux_configuration - Updating fluxconfiguration sdk

azurerm_kubernetes_flux_configuration - Updating fluxconfiguration sdk #34544

Workflow file for this run

---
name: GoLang Linting
permissions:
contents: read
pull-requests: write
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/golint.yaml'
- 'vendor/**'
- '**.go'
concurrency:
group: 'golint-${{ github.head_ref }}'
cancel-in-progress: true
jobs:
golint:
runs-on: custom-linux-large
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version-file: ./.go-version
- uses: golangci/golangci-lint-action@9fae48acfc02a90574d7c304a1758ef9895495fa # v7.0.1
with:
version: 'v2.4.0'
args: -v ./internal/...
- name: Guidance on failure
if: failure()
run: |
echo "::error::GoLang Linting failed."
echo ""
echo "Run the Go linter locally: golangci-lint run -v ./internal/..."
echo "Fix any reported issues before pushing. Common issues include:"
echo " - Unused variables or imports"
echo " - Error return values not checked"
echo " - Formatting issues (run 'gofmt -w .')"
save-artifacts-on-fail:
needs: golint
if: ${{ failure() }}
uses: ./.github/workflows/save-artifacts.yaml
comment-on-fail:
needs: golint
if: ${{ failure() }}
uses: ./.github/workflows/comment-failure.yaml