diff --git a/.github/workflows/__diagnostics-without-db.yml b/.github/workflows/__diagnostics-without-db.yml index 2f340ff3c..a6bebd5c2 100644 --- a/.github/workflows/__diagnostics-without-db.yml +++ b/.github/workflows/__diagnostics-without-db.yml @@ -76,6 +76,14 @@ jobs: languages: swift tools: ${{ steps.prepare-test.outputs.tools-url }} + - name: Analyze + uses: ./analyze + # In a real workflow, this step wouldn't run. Since we used `continue-on-error` + # above, we manually disable it with an `if` condition. + if: false + with: + category: '/test-codeql-version:${{ matrix.version }}' + - name: Check diagnostics appear on disk env: SARIF_PATH: '${{ runner.temp }}/codeql-action-temp-diagnostics/' diff --git a/pr-checks/checks/diagnostics-without-db.yml b/pr-checks/checks/diagnostics-without-db.yml index b1f3b8f14..fb43d890c 100644 --- a/pr-checks/checks/diagnostics-without-db.yml +++ b/pr-checks/checks/diagnostics-without-db.yml @@ -28,6 +28,14 @@ steps: languages: swift tools: ${{ steps.prepare-test.outputs.tools-url }} + - name: Analyze + uses: ./analyze + # In a real workflow, this step wouldn't run. Since we used `continue-on-error` + # above, we manually disable it with an `if` condition. + if: false + with: + category: "/test-codeql-version:${{ matrix.version }}" + - name: Check diagnostics appear on disk env: SARIF_PATH: "${{ runner.temp }}/codeql-action-temp-diagnostics/"