Fixes a critical bug where registering multiple HTTP clients with AddAtcRestClient<TOptions> would cause the second registration to overwrite the first client's configuration, resulting in both clients using the same base address
#36
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: "Pre-Integration" | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| jobs: | |
| dotnet5-build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: ๐ Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: โ๏ธ Setup dotnet 9.0.x | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '9.0.x' | |
| - name: ๐งน Clean | |
| run: dotnet clean -c Release && dotnet nuget locals all --clear | |
| - name: ๐ Restore packages | |
| run: dotnet restore | |
| - name: ๐ ๏ธ Building library in release mode | |
| run: dotnet build -c Release --no-restore | |
| dotnet-test: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - dotnet5-build | |
| steps: | |
| - name: ๐ Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: โ๏ธ Setup dotnet 9.0.x | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '9.0.x' | |
| - name: ๐ Restore packages | |
| run: dotnet restore | |
| - name: ๐ ๏ธ Build | |
| run: dotnet build -c Release --no-restore /p:UseSourceLink=true | |
| - name: ๐งช Run unit tests | |
| run: dotnet test -c Release --no-build |