From ffa825df929137fd5f9f0fe363e253b12074c07f Mon Sep 17 00:00:00 2001 From: Richard Kovacs Date: Thu, 11 Jan 2024 12:53:18 +0100 Subject: [PATCH] Upgrade Go version of CodeQL action (#134) Co-authored-by: Richard Kovacs --- .github/workflows/codeql.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f5677f6d..45028f89 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -5,6 +5,7 @@ on: branches: - main - release-* + - fix-codeql-* workflow_dispatch: {} concurrency: @@ -45,8 +46,11 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@v2 + + # Custom Go version because of: https://github.com/github/codeql/issues/13992#issuecomment-1711721716 + - uses: actions/setup-go@v5 with: - languages: go + go-version: '1.21' - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2