8000 add steps for Go CodeQL workflow (#5) · nginxinc/compliance-rules@da1c395 · GitHub
[go: up one dir, main page]

Skip to content

Commit da1c395

Browse files
authored
add steps for Go CodeQL workflow (#5)
1 parent 3305823 commit da1c395

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,16 @@ jobs:
8181
languages: ${{ matrix.language }}
8282
queries: security-and-quality
8383

84+
- name: Setup Go Environment
85+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
86+
with:
87+
go-version-file: go.mod
88+
if: matrix.language == 'go'
89+
90+
- name: Autobuild
91+
uses: github/codeql-action/autobuild@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
92+
8493
- name: Perform CodeQL Analysis
8594
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
8695
with:
8796
category: "/language:${{matrix.language}}"
88-
89-
90-

0 commit comments

Comments
 (0)
0