mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 15:20:17 +00:00
attempt to configure rust extractor for the right target
This commit is contained in:
4
.github/codeql/rust-extractor.yaml
vendored
Normal file
4
.github/codeql/rust-extractor.yaml
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
name: rust-extractor
|
||||||
|
version: 1.0.0
|
||||||
|
options:
|
||||||
|
cargo_target: x86_64-unknown-uefi
|
||||||
9
.github/workflows/codeql.yaml
vendored
9
.github/workflows/codeql.yaml
vendored
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user