File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ name : " CodeQL"
16+
17+ on :
18+ push :
19+ branches :
20+ - main
21+ - " pull-request/[0-9]+"
22+ tags :
23+ - ' v*'
24+ workflow_call : {}
25+ workflow_dispatch :
26+
27+ concurrency :
28+ group : ${{ github.workflow }}-${{ github.ref }}
29+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
30+
31+ jobs :
32+ analyze :
33+ name : Analyze Go code with CodeQL
34+ runs-on : ubuntu-latest
35+ timeout-minutes : 360
36+ permissions :
37+ security-events : write
38+ packages : read
39+ steps :
40+ - name : Checkout repository
41+ uses : actions/checkout@v4
42+ - name : Initialize CodeQL
43+ uses : github/codeql-action/init@v3
44+ with :
45+ languages : go
46+ build-mode : manual
47+ env :
48+ CODEQL_EXTRACTOR_GO_BUILD_TRACING : on
49+ - shell : bash
50+ run : |
51+ make build-all
52+ - name : Perform CodeQL Analysis
53+ uses : github/codeql-action/analyze@v3
54+ with :
55+ category : " /language:go"
You can’t perform that action at this time.
0 commit comments