Skip to content

SSR Implementation for .NET #23002

SSR Implementation for .NET

SSR Implementation for .NET #23002

name: Verify integrations map correctly added
on:
pull_request:
workflow_dispatch:
jobs:
bump_package_versions:
runs-on: windows-latest
timeout-minutes: 96 # max + 3*std over the last 3700 runs
permissions:
contents: read
steps:
- name: Support longpaths
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
with:
global-json-file: global.json
- name: "Regenerating package versions"
run: .\tracer\build.ps1 GeneratePackageVersions
- name: Report error
if: failure()
run: |
echo "## :warning: Error generating package versions" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "New integration detected. You must update the [IntegrationGroup.IntegrationMap](tracer/build/_build/Honeypot/IntegrationGroups.cs)" >> $GITHUB_STEP_SUMMARY
echo "class to include the new integration." >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "If your new integration uses multi-api testing to test multiple package versions," >> $GITHUB_STEP_SUMMARY
echo "list the NuGet package in the associated array. Otherwise use an empty array." >> $GITHUB_STEP_SUMMARY