Bump Microsoft.AspNetCore.Authentication.JwtBearer and 11 others #79
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: validate | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout module | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| path: gma-module-auth | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Checkout framework | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| repository: SadPossum/gma-framework | |
| ref: ${{ github.event_name == 'push' && github.ref_name == 'main' && 'main' || 'dev' }} | |
| path: gma-framework | |
| token: ${{ secrets.GMA_CI_TOKEN || github.token }} | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Check solution sync | |
| shell: pwsh | |
| working-directory: gma-module-auth | |
| run: ../gma-framework/eng/sync-solution.ps1 -RepositoryRoot . -Solution Gma.Modules.Auth.slnx -Check | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Bootstrap source roots | |
| shell: pwsh | |
| working-directory: gma-module-auth | |
| run: ./eng/bootstrap-source-roots.ps1 -Force | |
| - name: Restore | |
| working-directory: gma-module-auth | |
| run: dotnet restore Gma.Modules.Auth.slnx | |
| - name: Build | |
| working-directory: gma-module-auth | |
| run: dotnet build Gma.Modules.Auth.slnx --no-restore -m:1 | |
| - name: Check boundaries | |
| shell: pwsh | |
| working-directory: gma-module-auth | |
| run: ./eng/check-boundaries.ps1 | |
| - name: Check migration drift | |
| shell: pwsh | |
| working-directory: gma-module-auth | |
| run: ./eng/check-migrations.ps1 -NoBuild | |
| - name: Test | |
| working-directory: gma-module-auth | |
| run: dotnet test Gma.Modules.Auth.slnx --no-build --filter "Category!=Docker" --logger "console;verbosity=minimal" | |
| - name: Audit packages | |
| working-directory: gma-module-auth | |
| run: dotnet list Gma.Modules.Auth.slnx package --vulnerable --include-transitive | |
| relational: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout module | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| path: gma-module-auth | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Checkout framework | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| repository: SadPossum/gma-framework | |
| ref: ${{ github.event_name == 'push' && github.ref_name == 'main' && 'main' || 'dev' }} | |
| path: gma-framework | |
| token: ${{ secrets.GMA_CI_TOKEN || github.token }} | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Bootstrap source roots | |
| shell: pwsh | |
| working-directory: gma-module-auth | |
| run: ./eng/bootstrap-source-roots.ps1 -Force | |
| - name: Run relational integration tests | |
| working-directory: gma-module-auth | |
| env: | |
| GMA_REQUIRE_DOCKER_TESTS: "true" | |
| run: dotnet test tests/Gma.Modules.Auth.IntegrationTests/Gma.Modules.Auth.IntegrationTests.csproj --logger "console;verbosity=minimal" |