From 9c64b562905312d6605a58da0e4b432d29c1d827 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Wed, 6 Dec 2023 15:07:05 +0100 Subject: [PATCH] Fix codeql --- .github/workflows/codeql-analysis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 41e7b8ce..f08d7a87 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,6 +20,9 @@ on: schedule: - cron: '20 2 * * 5' +env: + GO: 1.21.4 + jobs: analyze: name: Analyze @@ -40,6 +43,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: ${{ env.GO }} + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2