From fc16c613905e9a976683d8486853c4fcce2e10d1 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 9 Oct 2023 03:23:20 +0200 Subject: [PATCH] chore: fix CodeQL Signed-off-by: Valery Piashchynski --- .github/workflows/codeql-analysis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 11cd034..08649d8 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: