From fac715f4488fee448b0a55a7384513df279400ae Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Mon, 10 Jun 2024 20:06:06 +0200 Subject: [PATCH] .github/workflow: use setup-go in codeql-analysis This is to ensure it installs the correct go toolchain version we need to build the project. Signed-off-by: Vincent Demeester --- .github/workflows/codeql-analysis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9da665ed04b..5690e3247e8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -55,7 +55,10 @@ jobs: - name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - + - name: Setup go + uses: actions/setup-go@v5 + with: + go-version: '1.22.x' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8