kopia lustrzana https://github.com/Guenael/rtlsdr-wsprd
chore(security): CodeQL config ext. file
rodzic
a913384b08
commit
0d58a250e0
|
@ -13,25 +13,12 @@ jobs:
|
|||
name: "Analyze-Build-Test"
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- language: c-cpp
|
||||
|
||||
steps:
|
||||
- name: "Checkout repository"
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: "CodeQL Init"
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
- name: "Install dependencies and build"
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
@ -39,11 +26,6 @@ jobs:
|
|||
pip install cpplint codespell
|
||||
make
|
||||
|
||||
- name: "CodeQL Analysis (SAST)"
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
|
||||
- name: "Cppcheck (C/C++ format & best best-practice)"
|
||||
run: |
|
||||
cppcheck --std=c11 *.c wsprd/*.c
|
||||
|
|
Ładowanie…
Reference in New Issue