1- # For most projects, this workflow file will not need changing; you simply need
2- # to commit it to your repository.
3- #
4- # You may wish to alter this file to override the set of languages analyzed,
5- # or to provide custom queries or build logic.
61name : " Code Analysis using CodeQL"
72
83on :
116 pull_request :
127 branches : [ master ]
138
14- # This is what will cancel the workflow
159concurrency :
1610 group : ${{ github.workflow }}-${{ github.ref }}
1711 cancel-in-progress : true
@@ -24,49 +18,21 @@ jobs:
2418 strategy :
2519 fail-fast : false
2620 matrix :
27- # Override automatic language detection by changing the below list
28- # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
2921 language : ['cpp']
30- # Learn more...
31- # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
3222
3323 steps :
3424 - name : Checkout repository
3525 uses : actions/checkout@v4
3626 with :
37- # We must fetch at least the immediate parents so that if this is
38- # a pull request then we can checkout the head.
3927 fetch-depth : 2
4028
41- # If this run was triggered by a pull request event, then checkout
42- # the head of the pull request instead of the merge commit.
43- - run : git checkout HEAD^2
44- if : ${{ github.event_name == 'pull_request' }}
45-
46- # Initializes the CodeQL tools for scanning.
4729 - name : Initialize CodeQL
48- uses : github/codeql-action/init@v1
30+ uses : github/codeql-action/init@v2
4931 with :
5032 languages : ${{ matrix.language }}
51- # If you wish to specify custom queries, you can do so here or in a config file.
52- # By default, queries listed here will override any specified in a config file.
53- # Prefix the list here with "+" to use these queries and those in the config file.
54- # queries: ./path/to/local/query, your-org/your-repo/queries@main
55-
56- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57- # If this step fails, then you should remove it and run the build manually (see below)
58- # - name: Autobuild
59- # uses: github/codeql-action/autobuild@v1
60-
61- # ℹ️ Command-line programs to run using the OS shell.
62- # 📚 https://git.io/JvXDl
63-
64- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
65- # and modify them (or add more) to build your code if your project
66- # uses a compiled language
6733
6834 - run : |
69- sudo apt update -yqq && sudo apt install --no-install-recommends -yqq ninja-build libpq-dev libcurl4-openssl-dev autoconf-archive unzip uuid-dev odbc-postgresql unixodbc unixodbc-dev apache2 apache2-dev libapr1-dev libaprutil1-dev memcached libmemcached-dev redis-server libssl-dev zlib1g-dev cmake make clang-format-11 ninja-build libjsoncpp-dev libjansson-dev libc-ares-dev libboost-all-dev
35+ sudo apt update -yqq && sudo apt install --no-install-recommends -yqq ninja-build libpq-dev libcurl4-openssl-dev autoconf-archive unzip uuid-dev odbc-postgresql unixodbc unixodbc-dev apache2 apache2-dev libapr1-dev libaprutil1-dev memcached libmemcached-dev redis-server libssl-dev zlib1g-dev cmake make clang-format ninja-build libjsoncpp-dev libjansson-dev libc-ares-dev libboost-all-dev
7036 pushd /tmp
7137 wget -q https://github.com/efficient/libcuckoo/archive/master.zip
7238 unzip master.zip
0 commit comments