summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2023-10-09 03:24:35 +0200
committerValery Piashchynski <[email protected]>2023-10-09 03:24:35 +0200
commit0a2e8468327016da997c2c214bbaa76b3eae1987 (patch)
treebdbe4c4d6a6a282f339e2b095322f1dce0621be9 /.github
parentcaddbb720df775dd13c1d900512928e4418955dd (diff)
chore: fix codeql-analysis
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codeql-analysis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 421e4791..a20cbfd0 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -26,6 +26,13 @@ jobs:
# We must fetch at least the immediate parents so that if this is a pull request then we can checkout the head
fetch-depth: 2
+ # Initializes the Golang environment for the CodeQL tools.
+ # https://github.com/github/codeql-action/issues/1842#issuecomment-1704398087
+ - name: Install Go
+ uses: actions/setup-go@v4
+ with:
+ go-version-file: go.mod
+
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with: