chore: Adds CLAUDE.md and AGENTS.md #156
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: Build and Test | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Restore dependencies | |
| run: dotnet restore Auth0.AspNetCore.Authentication.Api.sln | |
| - name: Build | |
| run: dotnet build Auth0.AspNetCore.Authentication.Api.sln --configuration Release --no-restore | |
| - name: Run Unit tests | |
| run: dotnet test tests/Auth0.AspNetCore.Authentication.Api.UnitTests/Auth0.AspNetCore.Authentication.Api.UnitTests.csproj --collect:"XPlat Code coverage" --results-directory ./TestResults/ /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura | |
| - name: Run Integration tests | |
| env: | |
| BASIC_DOMAIN: ${{ secrets.BASIC_DOMAIN }} | |
| BASIC_AUDIENCE: ${{ secrets.BASIC_AUDIENCE }} | |
| BASIC_CLIENT_ID: ${{ secrets.BASIC_CLIENT_ID }} | |
| BASIC_CLIENT_SECRET: ${{ secrets.BASIC_CLIENT_SECRET }} | |
| DPOP_ALLOWED_DOMAIN: ${{ secrets.DPOP_ALLOWED_DOMAIN }} | |
| DPOP_ALLOWED_AUDIENCE: ${{ secrets.DPOP_ALLOWED_AUDIENCE }} | |
| DPOP_ALLOWED_CLIENT_ID: ${{ secrets.DPOP_ALLOWED_CLIENT_ID }} | |
| DPOP_ALLOWED_CLIENT_SECRET: ${{ secrets.DPOP_ALLOWED_CLIENT_SECRET }} | |
| DPOP_ALLOWED_DPOP_MODE: ${{ secrets.DPOP_ALLOWED_DPOP_MODE }} | |
| DPOP_REQUIRED_DOMAIN: ${{ secrets.DPOP_REQUIRED_DOMAIN }} | |
| DPOP_REQUIRED_AUDIENCE: ${{ secrets.DPOP_REQUIRED_AUDIENCE }} | |
| DPOP_REQUIRED_CLIENT_ID: ${{ secrets.DPOP_REQUIRED_CLIENT_ID }} | |
| DPOP_REQUIRED_CLIENT_SECRET: ${{ secrets.DPOP_REQUIRED_CLIENT_SECRET }} | |
| DPOP_REQUIRED_DPOP_MODE: ${{ secrets.DPOP_REQUIRED_DPOP_MODE }} | |
| CUSTOM_DOMAIN_1_DOMAIN: ${{ secrets.CUSTOM_DOMAIN_1_DOMAIN}} | |
| CUSTOM_DOMAIN_1_AUDIENCE: ${{ secrets.CUSTOM_DOMAIN_1_AUDIENCE}} | |
| CUSTOM_DOMAIN_1_CLIENT_ID: ${{ secrets.CUSTOM_DOMAIN_1_CLIENT_ID}} | |
| CUSTOM_DOMAIN_1_CLIENT_SECRET: ${{ secrets.CUSTOM_DOMAIN_1_CLIENT_SECRET}} | |
| CUSTOM_DOMAIN_2_DOMAIN: ${{ secrets.CUSTOM_DOMAIN_2_DOMAIN}} | |
| CUSTOM_DOMAIN_2_AUDIENCE: ${{ secrets.CUSTOM_DOMAIN_2_AUDIENCE}} | |
| CUSTOM_DOMAIN_2_CLIENT_ID: ${{ secrets.CUSTOM_DOMAIN_2_CLIENT_ID}} | |
| CUSTOM_DOMAIN_2_CLIENT_SECRET: ${{ secrets.CUSTOM_DOMAIN_2_CLIENT_SECRET}} | |
| run: dotnet test tests/Auth0.AspNetCore.Authentication.Api.IntegrationTests/Auth0.AspNetCore.Authentication.Api.IntegrationTests.csproj --collect:"XPlat Code coverage" --results-directory ./TestResults/ /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura | |
| - name: Update codecov report | |
| uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # pin@6.0.1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./TestResults/**/coverage.cobertura.xml | |
| fail_ci_if_error: false | |
| verbose: true |