File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Copyright The ORAS Authors.
2+ # Licensed under the Apache License, Version 2.0 (the "License");
3+ # you may not use this file except in compliance with the License.
4+ # You may obtain a copy of the License at
5+ #
6+ # http://www.apache.org/licenses/LICENSE-2.0
7+ #
8+ # Unless required by applicable law or agreed to in writing, software
9+ # distributed under the License is distributed on an "AS IS" BASIS,
10+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+ # See the License for the specific language governing permissions and
12+ # limitations under the License.
13+
14+ name : CodeQL
15+
16+ on :
17+ push :
18+ branches :
19+ - main
20+ - release-*
21+ pull_request :
22+ branches :
23+ - main
24+ - release-*
25+ schedule :
26+ - cron : ' 29 17 * * 1'
27+
28+ jobs :
29+ analyze :
30+ name : Analyze
31+ runs-on : ubuntu-latest
32+ permissions :
33+ actions : read
34+ contents : read
35+ security-events : write
36+ strategy :
37+ matrix :
38+ go-version : ['1.25']
39+ fail-fast : false
40+ steps :
41+ - name : Checkout repository
42+ uses : actions/checkout@v5
43+ - name : Set up Go ${{ matrix.go-version }} environment
44+ uses : actions/setup-go@v6
45+ with :
46+ go-version : ${{ matrix.go-version }}
47+ check-latest : true
48+ - name : Initialize CodeQL
49+ uses : github/codeql-action/init@v3
50+ with :
51+ languages : go
52+ - name : Perform CodeQL Analysis
53+ uses : github/codeql-action/analyze@v3
You can’t perform that action at this time.
0 commit comments