chore(api): Allow custom ITokenProvider implementation to support header modification #2908
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: .NET Testing | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| test: | |
| name: Test (.NET ${{ matrix.version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| version: | |
| - 10.x | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: bufbuild/buf-setup-action@v1 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: extractions/setup-just@v4 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: ${{ matrix.version }} | |
| - name: Setup dotnet tools | |
| run: dotnet tool restore | |
| - name: Generate gRPC code | |
| run: just generate-grpc | |
| - name: Test | |
| run: dotnet test --configuration Release | |
| result: | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| name: Results | |
| needs: [ test ] | |
| steps: | |
| - run: | | |
| result="${{ needs.test.result }}" | |
| if [[ $result == "success" || $result == "skipped" ]]; then | |
| exit 0 | |
| else | |
| exit 1 | |
| fi |