Skip to content

Commit

Permalink
fix: ensure CodeQL runs with correct Go version (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgb authored Dec 14, 2023
1 parent 6309d46 commit 4bad1b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-go@v5
if: ${{ inputs.language == 'go' }}
with:
# To support newer Go
# CodeQL/GitHub uses older Go (1.20?) by default
go-version-file: go.mod
- uses: actions/setup-java@v4
if: ${{ inputs.language == 'java' || inputs.language == 'java-kotlin' }}
with:
Expand Down

0 comments on commit 4bad1b8

Please sign in to comment.