diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index b4d20ff..e00e016 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -4,4 +4,7 @@ queries: - uses: security-and-quality paths-ignore: - - '/ClientNoSqlDB.Samples.Maui/obj' + # Ignore all files with the .Designer.cs extension (generated code) + - '*.Designer.cs' + # Ignore all files with the .generated.cs extension (generated code) + - '*.generated.cs' diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 655249e..cf9c6b0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'microsoft' - java-version: 11 + java-version: 17 - name: search workloads run: dotnet workload search - name: restore workloads diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 9f490f1..af9afeb 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -24,7 +24,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'microsoft' - java-version: 11 + java-version: 17 - name: search workloads run: dotnet workload search - name: restore workloads