Bump python from 3.11.3-windowsservercore-1809 to 3.11-windowsservercore-1809 in /tracer/build/_build/docker #1308
Workflow file for this run
This file contains 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: Verify source generator changes have been persisted | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
verify_source_generators: | |
runs-on: windows-2022 | |
steps: | |
- name: Support longpaths | |
run: git config --system core.longpaths true | |
- name: Checkout | |
uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
dotnet-version: '7.0.101' | |
- name: "Removing existing generated files" | |
run: Get-ChildItem –Path ".\tracer\src\Datadog.Trace\Generated" -Recurse -File | Remove-Item | |
- name: "Regenerating package versions" | |
run: .\tracer\build.ps1 BuildTracerHome | |
- name: "Verify no changes in generated files" | |
run: | | |
git diff --quiet -- .\tracer\src\Datadog.Trace\Generated | |
if ($LASTEXITCODE -eq 1) { | |
git diff -- .\tracer\src\Datadog.Trace\Generated | |
Write-Error "Found changes in Generated folder. Build the solution locally and ensure you have committed all source generated files." | |
Exit 1 | |
} else { | |
echo "No changes found to generated files" | |
} |