Skip to content

Commit

Permalink
add setup-go action step to the CodeQL CI pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Tariq Ibrahim <[email protected]>
  • Loading branch information
tariq1890 authored and elezar committed Oct 18, 2024
1 parent 88712a2 commit 4eebdd7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/code_scanning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get Golang version
id: vars
run: |
GOLANG_VERSION=$(./hack/golang-version.sh)
echo "GOLANG_VERSION=${GOLANG_VERSION##GOLANG_VERSION := }" >> $GITHUB_ENV
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down

0 comments on commit 4eebdd7

Please sign in to comment.