Skip to content

dependencies: go-azure-sdk - update to v0.20260415.1165701 #33720

dependencies: go-azure-sdk - update to v0.20260415.1165701

dependencies: go-azure-sdk - update to v0.20260415.1165701 #33720

Workflow file for this run

---
name: Generation Check
permissions:
contents: read
pull-requests: write
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/gencheck.yaml'
- '**.go'
concurrency:
group: 'gencheck-${{ github.head_ref }}'
cancel-in-progress: true
jobs:
gencheck:
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
- run: bash scripts/gogetcookie.sh
- run: make gencheck
- name: Guidance on failure
if: failure()
run: |
echo "::error::Generation Check failed."
echo ""
echo "Run 'make generate' locally to regenerate auto-generated code, then commit the changes."
echo "This check ensures that generated files are up to date with their source definitions."
save-artifacts-on-fail:
needs: gencheck
if: ${{ failure() }}
uses: ./.github/workflows/save-artifacts.yaml
comment-on-fail:
needs: gencheck
if: ${{ failure() }}
uses: ./.github/workflows/comment-failure.yaml