]> nmode's Git Repositories - signal-cli/blob - .github/workflows/codeql-analysis.yml
0ef62f7e5b7790deffe9fb408c3a46ec2816aff3
[signal-cli] / .github / workflows / codeql-analysis.yml
1 name: "CodeQL"
2
3 on:
4 push:
5 branches: [ master ]
6 pull_request:
7 # The branches below must be a subset of the branches above
8 branches: [ master ]
9 schedule:
10 - cron: '0 7 * * 4'
11
12 jobs:
13 analyse:
14 name: Analyse
15 runs-on: ubuntu-latest
16
17 steps:
18
19 - name: Setup Java JDK
20 uses: actions/setup-java@v1
21 with:
22 java-version: 17
23
24 - name: Checkout repository
25 uses: actions/checkout@v2
26 with:
27 # We must fetch at least the immediate parents so that if this is
28 # a pull request then we can checkout the head.
29 fetch-depth: 2
30
31 # Initializes the CodeQL tools for scanning.
32 - name: Initialize CodeQL
33 uses: github/codeql-action/init@v1
34 # Override language selection by uncommenting this and choosing your languages
35 # with:
36 # languages: go, javascript, csharp, python, cpp, java
37
38 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
39 # If this step fails, then you should remove it and run the build manually (see below)
40 - name: Autobuild
41 uses: github/codeql-action/autobuild@v1
42
43 # â„šī¸ Command-line programs to run using the OS shell.
44 # 📚 https://git.io/JvXDl
45
46 # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines
47 # and modify them (or add more) to build your code if your project
48 # uses a compiled language
49
50 #- run: |
51 # make bootstrap
52 # make release
53
54 - name: Perform CodeQL Analysis
55 uses: github/codeql-action/analyze@v1