@@ -33,39 +33,39 @@ jobs:
3333 fail-fast : false
3434 matrix :
3535 language : [ 'python' ]
36- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37- # Learn more:
38- # 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
36+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37+ # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3938
4039 steps :
4140 - name : Checkout repository
42- uses : actions/checkout@v2
41+ uses : actions/checkout@v4
4342
4443 # Initializes the CodeQL tools for scanning.
4544 - name : Initialize CodeQL
46- uses : github/codeql-action/init@v1
45+ uses : github/codeql-action/init@v3
4746 with :
4847 languages : ${{ matrix.language }}
4948 # If you wish to specify custom queries, you can do so here or in a config file.
5049 # By default, queries listed here will override any specified in a config file.
5150 # Prefix the list here with "+" to use these queries and those in the config file.
5251 # queries: ./path/to/local/query, your-org/your-repo/queries@main
5352
54- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
53+ # Autobuild attempts to build any compiled languages (C/C++, C#, Go , or Java).
5554 # If this step fails, then you should remove it and run the build manually (see below)
5655 - name : Autobuild
57- uses : github/codeql-action/autobuild@v1
56+ uses : github/codeql-action/autobuild@v3
5857
5958 # ℹ️ Command-line programs to run using the OS shell.
60- # 📚 https://git.io/JvXDl
59+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6160
62- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63- # and modify them (or add more) to build your code if your project
64- # uses a compiled language
61+ # If the Autobuild fails above, remove it and uncomment the following three lines.
62+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
6563
66- # - run: |
67- # make bootstrap
68- # make release
64+ # - run: |
65+ # echo "Run, Build Application using script"
66+ # ./location_of_script_within_repo/buildscript.sh
6967
7068 - name : Perform CodeQL Analysis
71- uses : github/codeql-action/analyze@v1
69+ uses : github/codeql-action/analyze@v3
70+ with :
71+ category : " /language:${{matrix.language}}"
0 commit comments