From 208b227667182dfcd7bdf3ab4f5090aa823cf477 Mon Sep 17 00:00:00 2001 From: JakobL-MSFT <110699333+JakobL-MSFT@users.noreply.github.com> Date: Tue, 7 Feb 2023 15:36:48 -0800 Subject: Enable CodeQL to work thru reasonable workarounds. (#857) --- .github/workflows/Code-Scanning.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.github/workflows/Code-Scanning.yml') diff --git a/.github/workflows/Code-Scanning.yml b/.github/workflows/Code-Scanning.yml index 86be1ef0..1ba4c660 100644 --- a/.github/workflows/Code-Scanning.yml +++ b/.github/workflows/Code-Scanning.yml @@ -48,10 +48,11 @@ jobs: - name: Retrieve and build all available solutions id: build-all-samples run: | - .\Build-AllSamples.ps1 -Verbose + .\Build-AllSamples.ps1 -Verbose -ThrottleLimit 1 env: - Configuration: Debug - Platform: x64 + WDS_Configuration: Debug + WDS_Platform: x64 + WDS_WipeOutputs: ${{ true }} - name: Perform CodeQL analysis uses: github/codeql-action/analyze@v2 -- cgit v1.3.1 From 500494c4871b3c3ecc42414d9f75a4078cd9e613 Mon Sep 17 00:00:00 2001 From: JakobL-MSFT <110699333+JakobL-MSFT@users.noreply.github.com> Date: Tue, 14 Feb 2023 15:40:42 -0800 Subject: Enable the CodeQL workflow to pull submodules similar to the regular workflow. (#883) user-jakobl-codeql-submodules --- .github/workflows/Code-Scanning.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/Code-Scanning.yml') diff --git a/.github/workflows/Code-Scanning.yml b/.github/workflows/Code-Scanning.yml index 1ba4c660..c3094b4b 100644 --- a/.github/workflows/Code-Scanning.yml +++ b/.github/workflows/Code-Scanning.yml @@ -35,7 +35,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 with: - fetch-depth: 0 + submodules: 'recursive' - name: Initialize CodeQL uses: github/codeql-action/init@v2 -- cgit v1.3.1 From cdd758d3b2427b8b8cc9c8a556f4400c7a4db45b Mon Sep 17 00:00:00 2001 From: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:53:43 -0800 Subject: Update codeql code scanning to add microsoft/windows-drivers queries (#1098) * test code scanning with new package * update code scanning file. test without building * fix typo * add back build step * Update Code-Scanning.yml * Update Code-Scanning.yml * Update Code-Scanning.yml --- .github/workflows/Code-Scanning.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.github/workflows/Code-Scanning.yml') diff --git a/.github/workflows/Code-Scanning.yml b/.github/workflows/Code-Scanning.yml index fc1ae7e8..6915addf 100644 --- a/.github/workflows/Code-Scanning.yml +++ b/.github/workflows/Code-Scanning.yml @@ -38,10 +38,10 @@ jobs: submodules: 'recursive' - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} - + packs: microsoft/windows-drivers - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1.3.1 @@ -54,6 +54,9 @@ jobs: WDS_WipeOutputs: ${{ true }} - name: Perform CodeQL analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" + + + -- cgit v1.3.1 From bcc5c139181f66514b6767238f850f5b2d3aabd1 Mon Sep 17 00:00:00 2001 From: Jacob Ronstadt <147542405+jacob-ronstadt@users.noreply.github.com> Date: Tue, 5 Mar 2024 17:30:57 -0800 Subject: Update jobs to use Node.js 20 (#1134) * Update Code-Scanning.yml actions/checkout to v4 and microsoft/setup-msbuild to v2 * Update ci-pr.yml to use node20 * Update ci.yml to use node20 --- .github/workflows/Code-Scanning.yml | 4 ++-- .github/workflows/ci-pr.yml | 6 +++--- .github/workflows/ci.yml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to '.github/workflows/Code-Scanning.yml') diff --git a/.github/workflows/Code-Scanning.yml b/.github/workflows/Code-Scanning.yml index 6915addf..a18bcf95 100644 --- a/.github/workflows/Code-Scanning.yml +++ b/.github/workflows/Code-Scanning.yml @@ -33,7 +33,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'recursive' @@ -43,7 +43,7 @@ jobs: languages: ${{ matrix.language }} packs: microsoft/windows-drivers - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1.3.1 + uses: microsoft/setup-msbuild@v2 - name: Retrieve and build all available solutions run: | diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index fd2b78a6..7640b966 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -18,12 +18,12 @@ jobs: runs-on: windows-2022 steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'recursive' - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1.3.1 + uses: microsoft/setup-msbuild@v2 - name: Get changed files id: get-changed-files @@ -54,7 +54,7 @@ jobs: if: always() steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Retrieve overview reports uses: actions/download-artifact@v3 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4fd1a2a..ad92f83b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,12 +18,12 @@ jobs: runs-on: windows-2022 steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'recursive' - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1.3.1 + uses: microsoft/setup-msbuild@v2 - name: Retrieve and build all available solutions run: | @@ -47,7 +47,7 @@ jobs: if: always() steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Retrieve overview reports uses: actions/download-artifact@v3 -- cgit v1.3.1