From c85337ebd134dfdadb07d5bf4f33ae0c49fce12e Mon Sep 17 00:00:00 2001 From: Brandon Johnson Date: Tue, 27 Feb 2024 10:10:58 -0500 Subject: [PATCH] fix codeql scanning --- .github/workflows/codeql.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 700b5e46d..528647dc0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -35,6 +35,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + # Install Go so we don't use an out of date version to auto-build + # https://github.com/github/codeql-action/issues/1842#issuecomment-1704398087 + - name: Install Go + uses: actions/setup-go@v4 + with: + go-version-file: go.mod + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2