Skip to content

Fix unconditional semaphore release in BasicPublishAsync when Cancell… #1644

Fix unconditional semaphore release in BasicPublishAsync when Cancell…

Fix unconditional semaphore release in BasicPublishAsync when Cancell… #1644

Workflow file for this run

name: rabbitmq-dotnet-client-oauth2
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build-test:
strategy:
matrix:
oauth2-provider: [ uaa, keycloak ]
name: oauth2-${{ matrix.oauth2-provider }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
- uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0
with:
dotnet-version: 8.x
- uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: |
~/.nuget/packages
~/.local/share/NuGet/v3-cache
key: ${{ runner.os }}-v0-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-v0-nuget-
- run: ${{ github.workspace }}/.ci/oauth2/setup.sh ${{ matrix.oauth2-provider }}
- run: ${{ github.workspace }}/.ci/oauth2/test.sh ${{ matrix.oauth2-provider }}