Skip to content

Commit 9fc98a7

Browse files
authored
Merge pull request #135 from greenbone/fix/fix-CodeQL-tool-error
Update codeql.yml: setup go before running CodeQL
2 parents ed0f33a + 72ea5db commit 9fc98a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
29+
- name: Setup Go
30+
uses: actions/setup-go@v5
31+
with:
32+
go-version-file: './go.mod'
2933

3034
# Initializes the CodeQL tools for scanning.
3135
- name: Initialize CodeQL

0 commit comments

Comments
 (0)