@@ -13,12 +13,12 @@ name: "CodeQL"
1313
1414on :
1515 push :
16- branches : [master]
16+ branches : [ master ]
1717 pull_request :
1818 # The branches below must be a subset of the branches above
19- branches : [master]
19+ branches : [ master ]
2020 schedule :
21- - cron : " 26 0 * * 6"
21+ - cron : ' 26 0 * * 6'
2222 workflow_dispatch :
2323
2424jobs :
@@ -29,40 +29,40 @@ jobs:
2929 strategy :
3030 fail-fast : false
3131 matrix :
32- language : ["go", " javascript" ]
32+ language : [ 'go', ' javascript' ]
3333 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3434 # Learn more:
3535 # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
3636
3737 steps :
38- - name : Checkout repository
39- uses : actions/checkout@v3
38+ - name : Checkout repository
39+ uses : actions/checkout@v3
4040
41- # Initializes the CodeQL tools for scanning.
42- - name : Initialize CodeQL
43- uses : github/codeql-action/init@v2
44- with :
45- languages : ${{ matrix.language }}
46- # If you wish to specify custom queries, you can do so here or in a config file.
47- # By default, queries listed here will override any specified in a config file.
48- # Prefix the list here with "+" to use these queries and those in the config file.
49- # queries: ./path/to/local/query, your-org/your-repo/queries@main
41+ # Initializes the CodeQL tools for scanning.
42+ - name : Initialize CodeQL
43+ uses : github/codeql-action/init@v2
44+ with :
45+ languages : ${{ matrix.language }}
46+ # If you wish to specify custom queries, you can do so here or in a config file.
47+ # By default, queries listed here will override any specified in a config file.
48+ # Prefix the list here with "+" to use these queries and those in the config file.
49+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
5050
51- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
52- # If this step fails, then you should remove it and run the build manually (see below)
53- # - name: Autobuild
54- # uses: github/codeql-action/autobuild@v2
51+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
52+ # If this step fails, then you should remove it and run the build manually (see below)
53+ - name : Autobuild
54+ uses : github/codeql-action/autobuild@v2
5555
56- # ℹ️ Command-line programs to run using the OS shell.
57- # 📚 https://git.io/JvXDl
56+ # ℹ️ Command-line programs to run using the OS shell.
57+ # 📚 https://git.io/JvXDl
5858
59- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
60- # and modify them (or add more) to build your code if your project
61- # uses a compiled language
59+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
60+ # and modify them (or add more) to build your code if your project
61+ # uses a compiled language
6262
63- - run : |
64- make install
65- make codegen
63+ # - run: |
64+ # make bootstrap
65+ # make release
6666
67- - name : Perform CodeQL Analysis
68- uses : github/codeql-action/analyze@v2
67+ - name : Perform CodeQL Analysis
68+ uses : github/codeql-action/analyze@v2
0 commit comments