File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed
Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ name : sast
2+
3+ on :
4+ push :
5+ branches : ['develop']
6+ pull_request :
7+ branches : ['develop']
8+
9+ jobs :
10+ analyze :
11+ name : analyze
12+ runs-on : ubuntu-latest
13+ permissions :
14+ actions : read
15+ contents : read
16+ security-events : write
17+
18+ strategy :
19+ fail-fast : true
20+ matrix :
21+ language : [ 'go' ]
22+ go : [
23+ ' 1.22' ,
24+ ' 1.23' ,
25+ ' 1.24' ,
26+ ]
27+ include :
28+ # Set the minimum Go patch version for the given Go minor
29+ - go : ' 1.22'
30+ GO_VERSION : ' ~1.22.0'
31+ - go : ' 1.23'
32+ GO_VERSION : ' ~1.23.0'
33+ - go : ' 1.24'
34+ GO_VERSION : ' ~1.24.0'
35+
36+ steps :
37+ - name : Check out the source code
38+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+
40+ - name : Set up Go ${{ matrix.go }}
41+ uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
42+ with :
43+ go-version : ${{ matrix.GO_VERSION }}
44+ check-latest : true
45+
46+ - name : CodeQL initialization
47+ uses : github/codeql-action/init@efffb483ec7bb162c4b7935f8b35ab6b94136c7b # v2.21.0
48+ with :
49+ languages : ${{ matrix.language }}
50+ queries : security-and-quality
51+
52+ - name : Build
53+ run : |
54+ sudo apt-get install -y ragel
55+ make
56+
57+ - name : CodeQL analysis
58+ uses : github/codeql-action/analyze@efffb483ec7bb162c4b7935f8b35ab6b94136c7b # v2.21.0
59+ with :
60+ category : " /language:${{matrix.language}}"
61+
You can’t perform that action at this time.
0 commit comments