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 <vdemeest@redhat.com>
  • Loading branch information
vdemeester authored and tekton-robot committed Jun 18, 2024
1 parent 639e836 commit 9bdb19a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:

- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down

0 comments on commit 9bdb19a

Please sign in to comment.