|
|
@@ -28,25 +28,21 @@ jobs:
|
|
|
contents: read
|
|
|
security-events: write
|
|
|
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix:
|
|
|
- language: [ 'cpp' ]
|
|
|
-
|
|
|
steps:
|
|
|
- name: Checkout repository
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
|
- name: Initialize CodeQL
|
|
|
- uses: github/codeql-action/init@v1
|
|
|
+ uses: github/codeql-action/init@v2
|
|
|
with:
|
|
|
- languages: ${{ matrix.language }}
|
|
|
-
|
|
|
+ languages: cpp
|
|
|
+ queries: security-and-quality
|
|
|
+
|
|
|
- run: |
|
|
|
ln -s /root/.rtebuild /github/home/.rtebuild
|
|
|
cd CMSIS/CoreValidation/Tests
|
|
|
python3 build.py -c GCC -o low build
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
- uses: github/codeql-action/analyze@v1
|
|
|
+ uses: github/codeql-action/analyze@v2
|