From fdbdfe83906ca452b5cf005cc2fa05d76003d78a Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 1 Feb 2024 10:44:48 +0200 Subject: [PATCH] github: add setup-go action in codeql job Ensures that we use the correct version in the codeql job (silencing some warnings in logs). --- .github/workflows/common-codeql.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/common-codeql.yaml b/.github/workflows/common-codeql.yaml index 50236a784..7cdf5932d 100644 --- a/.github/workflows/common-codeql.yaml +++ b/.github/workflows/common-codeql.yaml @@ -19,6 +19,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version-file: go.mod + - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: