From 9bdb19a19946fd4925e3ac5505d32fd53e992331 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d5b6ca5b819..c3ec18769b1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -55,6 +55,10 @@ jobs: - name: Checkout repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - name: Setup go + uses: actions/setup-go@v5 + with: + go-version: '1.22.x' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL