Skip to content

Commit

Permalink
.github/workflow: use setup-go in codeql-analysis
Browse files Browse the repository at this point in the history
This is to ensure it installs the correct go toolchain version we need
to build the project.

Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Jun 10, 2024
1 parent 47f940a commit 243a63b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ jobs:

- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7
Expand Down

0 comments on commit 243a63b

Please sign in to comment.