]> git.proxmox.com Git - libgit2.git/blame - .github/workflows/codeql.yml
New upstream version 1.4.3+dfsg.1
[libgit2.git] / .github / workflows / codeql.yml
CommitLineData
c25aa7cd
PP
1name: "CodeQL"
2
3on:
4 workflow_dispatch:
5 schedule:
6 - cron: '21 3 * * 1'
7
8env:
9 docker-registry: docker.pkg.github.com
10
11jobs:
12 analyze:
13 name: Analyze
14 runs-on: ubuntu-latest
15
16 steps:
17 - name: Check out repository
18 uses: actions/checkout@v2
19 with:
20 fetch-depth: 0
21
22 # Initializes the CodeQL tools for scanning.
23 - name: Initialize CodeQL
24 uses: github/codeql-action/init@v1
25 with:
26 languages: 'cpp'
27
28 - name: Build
29 run: |
30 mkdir build
31 cd build
32 cmake .. -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON
33 cmake --build .
34
35 - name: Perform CodeQL Analysis
36 uses: github/codeql-action/analyze@v1