From 38655cc14108a04467eda3e39b4311f7159ca07e Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Tue, 7 Nov 2023 23:58:42 -0600 Subject: [PATCH] ci: Install Go version in go.mod to fix CodeQL --- .github/workflows/codeql-analysis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index def2c2c2..b725696b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -52,7 +52,13 @@ jobs: # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # queries: security-extended,security-and-quality - + + - name: Install Go + if: matrix.language == 'go' + uses: actions/setup-go@v4 + with: + go-version-file: go.mod + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild