@@ -37,40 +37,41 @@ jobs:
37
37
# Learn more about CodeQL language support at https://git.io/codeql-language-support
38
38
39
39
steps :
40
- - name : Checkout repository
41
- uses : actions/checkout@v4
40
+ - name : Checkout repository
41
+ uses : actions/checkout@v4
42
42
43
- - name : Set up Go
44
- uses : actions/setup-go@v5
45
- if : matrix.language == 'go'
46
- with :
47
- go-version-file : ' go.mod'
43
+ - name : Set up Go
44
+ uses : actions/setup-go@v5
45
+ if : matrix.language == 'go'
46
+ with :
47
+ check-latest : true
48
+ go-version-file : ' go.mod'
48
49
49
- # Initializes the CodeQL tools for scanning.
50
- - name : Initialize CodeQL
51
- uses : github/codeql-action/init@v3
52
- with :
53
- languages : ${{ matrix.language }}
54
- # If you wish to specify custom queries, you can do so here or in a config file.
55
- # By default, queries listed here will override any specified in a config file.
56
- # Prefix the list here with "+" to use these queries and those in the config file.
57
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
50
+ # Initializes the CodeQL tools for scanning.
51
+ - name : Initialize CodeQL
52
+ uses : github/codeql-action/init@v3
53
+ with :
54
+ languages : ${{ matrix.language }}
55
+ # If you wish to specify custom queries, you can do so here or in a config file.
56
+ # By default, queries listed here will override any specified in a config file.
57
+ # Prefix the list here with "+" to use these queries and those in the config file.
58
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
58
59
59
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
60
- # If this step fails, then you should remove it and run the build manually (see below)
61
- - name : Autobuild
62
- uses : github/codeql-action/autobuild@v3
60
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
61
+ # If this step fails, then you should remove it and run the build manually (see below)
62
+ - name : Autobuild
63
+ uses : github/codeql-action/autobuild@v3
63
64
64
- # ℹ️ Command-line programs to run using the OS shell.
65
- # 📚 https://git.io/JvXDl
65
+ # ℹ️ Command-line programs to run using the OS shell.
66
+ # 📚 https://git.io/JvXDl
66
67
67
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
68
- # and modify them (or add more) to build your code if your project
69
- # uses a compiled language
68
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
69
+ # and modify them (or add more) to build your code if your project
70
+ # uses a compiled language
70
71
71
- # - run: |
72
- # make bootstrap
73
- # make release
72
+ # - run: |
73
+ # make bootstrap
74
+ # make release
74
75
75
- - name : Perform CodeQL Analysis
76
- uses : github/codeql-action/analyze@v3
76
+ - name : Perform CodeQL Analysis
77
+ uses : github/codeql-action/analyze@v3
0 commit comments