From b4e6460d2f92f712c3338e4d065e521592d862da Mon Sep 17 00:00:00 2001 From: Denys Holius <5650611+denisgolius@users.noreply.github.com> Date: Thu, 27 Oct 2022 11:06:33 +0300 Subject: [PATCH] .github/workflows/codeql-analysis.yml: specifically setting the Go version (#3277) see https://github.com/github/codeql-action/issues/1059 --- .github/workflows/codeql-analysis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d9eab03e4..8a2369651 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -40,6 +40,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.19 + if: ${{ matrix.language == 'go' }} + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2