Skip to content

Commit b45594c

Browse files
authored
Merge pull request #230 from DuendeSoftware/mb/codeql
Make CodeQL happy again
2 parents 4ef78b9 + c2f620f commit b45594c

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/codeql-analysis.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,23 @@ jobs:
3636
steps:
3737
- name: Checkout repository
3838
uses: actions/checkout@v4
39-
40-
- name: Setup net8
41-
uses: actions/setup-dotnet@v4
39+
40+
- name: Setup Dotnet
41+
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25
4242
with:
43-
dotnet-version: '8.0.x'
43+
dotnet-version: |-
44+
6.0.x
45+
8.0.x
46+
9.0.103
4447
45-
- run: dotnet --info
48+
- run: dotnet --list-sdks
4649

4750
- name: Install .NET Aspire workload
4851
run: dotnet workload install aspire
4952

5053
# Initializes the CodeQL tools for scanning.
5154
- name: Initialize CodeQL
52-
uses: github/codeql-action/init@v2
55+
uses: github/codeql-action/init@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0
5356
with:
5457
languages: ${{ matrix.language }}
5558
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -60,4 +63,4 @@ jobs:
6063
- run: ./build.sh build
6164

6265
- name: Perform CodeQL Analysis
63-
uses: github/codeql-action/analyze@v2
66+
uses: github/codeql-action/analyze@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0

BFF/v3/BlazorWasm/Client/Shared/LoginDisplay.razor

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<AuthorizeView>
22
<Authorized>
3-
<strong>Hello, @context.User.Identity.Name!</strong>
3+
<strong>Hello, @context.User.Identity?.Name</strong>
44
<a href="@context.User.FindFirst("bff:logout_url")?.Value">Log out</a>
55
</Authorized>
66
<NotAuthorized>

0 commit comments

Comments
 (0)