@@ -2,10 +2,10 @@ name: "CodeQL"
2
2
3
3
on :
4
4
push :
5
- branches : [ "master", "ci" ]
5
+ branches : [ "master", "ci", "v*_*" ]
6
6
pull_request :
7
7
# The branches below must be a subset of the branches above
8
- branches : [ "master", "ci" ]
8
+ branches : [ "master", "ci", "v*_*" ]
9
9
schedule :
10
10
- cron : ' 41 12 * * 0'
11
11
@@ -25,11 +25,11 @@ jobs:
25
25
26
26
steps :
27
27
- name : Checkout repository
28
- uses : actions/checkout@v3
28
+ uses : actions/checkout@v4
29
29
30
30
# Initializes the CodeQL tools for scanning.
31
31
- name : Initialize CodeQL
32
- uses : github/codeql-action/init@v2
32
+ uses : github/codeql-action/init@v3
33
33
with :
34
34
languages : ${{ matrix.language }}
35
35
# If you wish to specify custom queries, you can do so here or in a config file.
44
44
# If this step fails, then you should remove it and run the build manually (see below)
45
45
- name : Install dependencies
46
46
run : |
47
- ./hammer.py prepare-system -p local -w docs,netconf,perfdhcp,shell,tls,unittest
47
+ ./hammer.py prepare-system -p local -w all
48
48
49
49
- name : Inspect system CPU
50
50
run : cat /proc/cpuinfo
55
55
# Flags skipped: --with-gssapi --with-freeradius
56
56
- name : Build Kea
57
57
run : |
58
- autoreconf -i
59
- ./configure --enable-shell --enable-debug --enable-generate-docs --enable-generate-messages --enable-generate-parser --enable-logger-checks --enable-perfdhcp --enable-shell --with-libyang --with-libyang-cpp --with-openssl --with-sysrepo --with-sysrepo-cpp
60
- make -j2
58
+ meson setup build --auto-features enabled -D fuzz=enabled -D tests=enabled
59
+ meson compile -C build
61
60
62
61
# ℹ️ Command-line programs to run using the OS shell.
63
62
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
70
69
# ./location_of_script_within_repo/buildscript.sh
71
70
72
71
- name : Perform CodeQL Analysis
73
- uses : github/codeql-action/analyze@v2
72
+ uses : github/codeql-action/analyze@v3
74
73
with :
75
74
category : " /language:${{matrix.language}}"
0 commit comments