724fed53f35c3539f81d9a70b90310fe0733a1df
[geeqie.git] / .github / workflows / codeql-analysis.yml
1 name: "CodeQL"
2
3 on:
4   push:
5     branches: [master, stable/1.6]
6   pull_request:
7     # The branches below must be a subset of the branches above
8     branches: [master]
9   schedule:
10     - cron: '18 9 * * 0'
11
12 jobs:
13   analyze:
14     name: Analyze
15     runs-on: ubuntu-latest
16
17     strategy:
18       fail-fast: false
19       matrix:
20         language: ['cpp']
21
22     steps:
23       - name: Checkout repository
24         uses: actions/checkout@v2
25
26       # Initializes the CodeQL tools for scanning.
27       - name: Initialize CodeQL
28         uses: github/codeql-action/init@v1
29         with:
30           languages: ${{ matrix.language }}
31
32       - name: Autobuild
33         uses: github/codeql-action/autobuild@v1
34
35       - name: Perform CodeQL Analysis
36         uses: github/codeql-action/analyze@v1