forked from openvinotoolkit/npu_compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (54 loc) · 1.47 KB
/
codeql.yml
File metadata and controls
61 lines (54 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: "CodeQL Advanced"
on:
workflow_dispatch:
push:
branches:
- develop
schedule:
- cron: '24 8 * * 6'
concurrency:
group: linux-${{ github.event_name }}-${{ github.ref_name }}-codeql
cancel-in-progress: true
permissions: read-all
jobs:
AnalyzePython:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest-8-cores
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: python
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Initialize CodeQL
uses: github/codeql-action/init@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
with:
category: "/language:${{matrix.language}}"
AnalyzeCPP:
name: Analyze c-cpp
uses: ./.github/workflows/job_linux.yml
permissions:
actions: read
contents: read
packages: read
statuses: read
security-events: write
id-token: write
with:
os: ubuntu_24_04
build-runner: ubuntu-latest-32-cores
build-plugin: true
build-driver: false
with-codeql: true