File tree Expand file tree Collapse file tree 3 files changed +72
-2
lines changed Expand file tree Collapse file tree 3 files changed +72
-2
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " monthly"
7+ commit-message :
8+ prefix : " build"
9+
10+ - package-ecosystem : " gomod"
11+ directory : " /"
12+ schedule :
13+ interval : " daily"
14+ commit-message :
15+ prefix : " build"
16+ groups :
17+ golang.org :
18+ patterns :
19+ - " golang.org/*"
Original file line number Diff line number Diff line change 1+ name : CodeQL
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ schedule :
8+ - cron : ' 00 5 * * 1'
9+
10+ permissions : {}
11+
12+ jobs :
13+ analyze :
14+ name : Analyze
15+ runs-on : ubuntu-latest
16+ permissions :
17+ actions : read
18+ contents : read
19+ security-events : write
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ language : [ 'go' ]
25+
26+ steps :
27+ - name : Checkout code
28+ uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
29+
30+ # Initializes the CodeQL tools for scanning.
31+ - name : Initialize CodeQL
32+ uses : github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
33+ with :
34+ languages : ${{ matrix.language }}
35+ # xref: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
36+ # xref: https://codeql.github.com/codeql-query-help/go/
37+ queries : security-and-quality
38+
39+ - name : Manual Build
40+ run : go build ./...
41+
42+ - name : Perform CodeQL Analysis
43+ uses : github/codeql-action/analyze@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
44+ with :
45+ category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 1- on : [push, pull_request]
21name : Test
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ permissions : {}
8+
39jobs :
410 version-matrix :
511 strategy :
612 fail-fast : false
713 matrix :
8- go-version : [1.21, 1.22]
14+ go-version : [1.21.x , 1.22.x, 1.23.x ]
915 platform : [ubuntu-latest, macos-latest, windows-latest]
1016
1117 runs-on : ${{ matrix.platform }}
You can’t perform that action at this time.
0 commit comments