This repository was archived by the owner on Aug 9, 2023. It is now read-only.
File tree 1 file changed +53
-0
lines changed
1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
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 : ' 18 3 * * 1'
11
+
12
+ jobs :
13
+ analyze :
14
+ name : Analyze
15
+ runs-on : ubuntu-latest
16
+
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ language : [ 'go' ]
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
+ # If you wish to specify custom queries, you can do so here or in a config file.
32
+ # By default, queries listed here will override any specified in a config file.
33
+ # Prefix the list here with "+" to use these queries and those in the config file.
34
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
35
+
36
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
37
+ # If this step fails, then you should remove it and run the build manually (see below)
38
+ - name : Autobuild
39
+ uses : github/codeql-action/autobuild@v1
40
+
41
+ # ℹ️ Command-line programs to run using the OS shell.
42
+ # 📚 https://git.io/JvXDl
43
+
44
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
45
+ # and modify them (or add more) to build your code if your project
46
+ # uses a compiled language
47
+
48
+ # - run: |
49
+ # make bootstrap
50
+ # make release
51
+
52
+ - name : Perform CodeQL Analysis
53
+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments