Skip to content

Commit c92d9e7

Browse files
committed
Pre-install correct Go version for CodeQL
Signed-off-by: Chad Wilson <[email protected]>
1 parent c1ebed4 commit c92d9e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/codeql-analysis.yml

+6
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
- name: Checkout repository
4141
uses: actions/checkout@v4
4242

43+
- name: Set up Go
44+
uses: actions/setup-go@v5
45+
if: matrix.language == 'go'
46+
with:
47+
go-version-file: 'go.mod'
48+
4349
# Initializes the CodeQL tools for scanning.
4450
- name: Initialize CodeQL
4551
uses: github/codeql-action/init@v3

0 commit comments

Comments
 (0)