diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 255a2e739..58c532efa 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -26,6 +26,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - uses: actions/setup-go@v4 + with: + go-version-file: go.mod + - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: