attempt to configure rust extractor for the right target

This commit is contained in:
2025-10-20 01:44:27 -07:00
parent f3b7007432
commit d2f47dcad6
2 changed files with 12 additions and 1 deletions

4
.github/codeql/rust-extractor.yaml vendored Normal file
View File

@@ -0,0 +1,4 @@
name: rust-extractor
version: 1.0.0
options:
cargo_target: x86_64-unknown-uefi

View File

@@ -8,6 +8,9 @@ on:
schedule: schedule:
- cron: '33 16 * * 0' - cron: '33 16 * * 0'
permissions:
contents: read # Needed to checkout the repository.
jobs: jobs:
analyze: analyze:
name: analyze (${{ matrix.language }}) name: analyze (${{ matrix.language }})
@@ -16,7 +19,7 @@ jobs:
security-events: write # Needed to upload results. security-events: write # Needed to upload results.
packages: read # Needed to fetch internal or private CodeQL packs. packages: read # Needed to fetch internal or private CodeQL packs.
actions: read # Needed to read workflows. actions: read # Needed to read workflows.
contents: read # Needed to read code. contents: read # Needed to checkout the repository.
strategy: strategy:
fail-fast: false fail-fast: false
@@ -37,6 +40,10 @@ jobs:
with: with:
persist-credentials: false persist-credentials: false
- name: use rust extractor config
run: |
echo "CODEQL_EXTRACTOR_RUST_CONFIG=.github/codeql/rust-extractor.yaml" >> $GITHUB_ENV
- name: initialize codeql - name: initialize codeql
uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 #v4 uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 #v4
with: with: