Add Diagnostics sections for outbox, sagas and subscriptions #1805
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: | |
| push: | |
| branches: | |
| - master | |
| - release-* | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| DOTNET_NOLOGO: true | |
| defaults: | |
| run: | |
| shell: pwsh | |
| jobs: | |
| build: | |
| name: ${{ matrix.name }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| include: | |
| - os: windows-latest | |
| name: Windows | |
| - os: ubuntu-latest | |
| name: Linux | |
| fail-fast: false | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v4.3.1 | |
| with: | |
| global-json-file: global.json | |
| - name: Build | |
| run: dotnet build src --configuration Release | |
| - name: Upload packages | |
| if: matrix.name == 'Windows' | |
| uses: actions/upload-artifact@v4.6.2 | |
| with: | |
| name: NuGet packages | |
| path: nugets/ | |
| retention-days: 7 | |
| - name: Setup MongoDB Server | |
| uses: Particular/setup-mongodb-action@v1.4.0 | |
| with: | |
| connection-string-name: NServiceBusStorageMongoDB_ConnectionString | |
| mongodb-port: 27018 | |
| mongodb-replica-set: tr0 | |
| - name: Run tests | |
| uses: Particular/run-tests-action@v1.7.0 |