mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 13:50:16 +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:
|
||||
- cron: '33 16 * * 0'
|
||||
|
||||
permissions:
|
||||
contents: read # Needed to checkout the repository.
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: analyze (${{ matrix.language }})
|
||||
@@ -16,7 +19,7 @@ jobs:
|
||||
security-events: write # Needed to upload results.
|
||||
packages: read # Needed to fetch internal or private CodeQL packs.
|
||||
actions: read # Needed to read workflows.
|
||||
contents: read # Needed to read code.
|
||||
contents: read # Needed to checkout the repository.
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -37,6 +40,10 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: use rust extractor config
|
||||
run: |
|
||||
echo "CODEQL_EXTRACTOR_RUST_CONFIG=.github/codeql/rust-extractor.yaml" >> $GITHUB_ENV
|
||||
|
||||
- name: initialize codeql
|
||||
uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 #v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user