|
1 |
| -name: "Code scanning - action" |
| 1 | +name: 'Code scanning - action' |
2 | 2 |
|
3 | 3 | on:
|
4 | 4 | push:
|
5 |
| - branches-ignore: "dependabot/**" |
| 5 | + branches-ignore: 'dependabot/**' |
6 | 6 | pull_request:
|
7 | 7 | paths-ignore:
|
8 | 8 | - '**.md'
|
|
11 | 11 |
|
12 | 12 | jobs:
|
13 | 13 | CodeQL-Build:
|
14 |
| - |
15 | 14 | # CodeQL runs on ubuntu-latest and windows-latest
|
16 | 15 | runs-on: ubuntu-latest
|
17 | 16 |
|
18 | 17 | steps:
|
19 |
| - - name: Checkout repository |
20 |
| - uses: actions/checkout@v2 |
21 |
| - |
22 |
| - # Initializes the CodeQL tools for scanning. |
23 |
| - - name: Initialize CodeQL |
24 |
| - uses: github/codeql-action/init@v1 |
25 |
| - # Override language selection by uncommenting this and choosing your languages |
26 |
| - # with: |
27 |
| - # languages: go, javascript, csharp, python, cpp, java |
28 |
| - |
29 |
| - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). |
30 |
| - # If this step fails, then you should remove it and run the build manually (see below) |
31 |
| - - name: Autobuild |
32 |
| - uses: github/codeql-action/autobuild@v1 |
33 |
| - |
34 |
| - # ℹ️ Command-line programs to run using the OS shell. |
35 |
| - # 📚 https://git.io/JvXDl |
36 |
| - |
37 |
| - # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines |
38 |
| - # and modify them (or add more) to build your code if your project |
39 |
| - # uses a compiled language |
40 |
| - |
41 |
| - #- run: | |
42 |
| - # make bootstrap |
43 |
| - # make release |
44 |
| - |
45 |
| - - name: Perform CodeQL Analysis |
46 |
| - uses: github/codeql-action/analyze@v1 |
| 18 | + - name: Checkout repository |
| 19 | + uses: actions/checkout@v2 |
| 20 | + |
| 21 | + # Initializes the CodeQL tools for scanning. |
| 22 | + - name: Initialize CodeQL |
| 23 | + uses: github/codeql-action/init@v1 |
| 24 | + |
| 25 | + # Override language selection by uncommenting this and choosing your languages |
| 26 | + # with: |
| 27 | + # languages: go, javascript, csharp, python, cpp, java |
| 28 | + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). |
| 29 | + # If this step fails, then you should remove it and run the build manually (see below) |
| 30 | + - name: Autobuild |
| 31 | + uses: github/codeql-action/autobuild@v1 |
| 32 | + |
| 33 | + # ℹ️ Command-line programs to run using the OS shell. |
| 34 | + # 📚 https://git.io/JvXDl |
| 35 | + |
| 36 | + # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines |
| 37 | + # and modify them (or add more) to build your code if your project |
| 38 | + # uses a compiled language |
| 39 | + |
| 40 | + #- run: | |
| 41 | + # make bootstrap |
| 42 | + # make release |
| 43 | + |
| 44 | + - name: Perform CodeQL Analysis |
| 45 | + uses: github/codeql-action/analyze@v1 |
0 commit comments