Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ jobs:
- name: aarch64-pc-windows-msvc
arch: arm64

include:
- language: c-cpp
build-mode: manual

codeql:
Comment thread
wmmc88 marked this conversation as resolved.
- language: c-cpp
build-mode: manual
- language: rust
build-mode: none
Comment thread
wmmc88 marked this conversation as resolved.

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -86,15 +88,15 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
languages: ${{ matrix.codeql.language }}
build-mode: ${{ matrix.codeql.build-mode }}
queries: security-extended,security-and-quality

- if: matrix.build-mode == 'manual'
- if: matrix.codeql.build-mode == 'manual'
working-directory: ./examples
run: cargo +${{ matrix.rust_toolchain }} make default --locked --profile ${{ matrix.cargo_profile }} --target ${{ matrix.target_triple.name }} --workspace --all-features

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
category: "/language:${{matrix.codeql.language}}"
Loading