[tcgc] crash if duplicate models / enums across namespaces when flattened with namespace flag or multi service #1819
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - release/* | |
| paths-ignore: | |
| - "packages/http-client-csharp/**" | |
| - "packages/http-client-java/**" | |
| - "packages/http-client-python/**" | |
| - "website/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| preview: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| submodules: recursive | |
| - uses: ./.github/actions/setup | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build | |
| run: pnpm run --filter "internal-build-utils" --filter "[origin/main]..." --filter='!@typespec/website' --filter='!@azure-tools/typespec-azure-website' build | |
| - name: Bump version to prerelease targets | |
| run: node ./core/packages/internal-build-utils/cmd/cli.js bump-version-pr . --pr ${{ github.event.pull_request.number }} --buildNumber ${{ github.run_number }} | |
| - run: pnpm tsx eng/scripts/pkg-pr-new.ts |