Skip to content

Commit

Permalink
Merge pull request #1000 from NVIDIA/codeql-go
Browse files Browse the repository at this point in the history
align the go version used in codeQL with the devel images
  • Loading branch information
tariq1890 authored Oct 18, 2024
2 parents 0d5a50f + 653c1c8 commit bfbce33
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 bfbce33

Please sign in to comment.