Skip to content

Commit 9473e0f

Browse files
committed
Fix codeql scanning by specifying go 1.21.x
1 parent f1a9f5e commit 9473e0f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,19 @@ jobs:
1616
actions: read
1717
contents: read
1818
security-events: write
19-
2019
strategy:
2120
fail-fast: false
22-
matrix:
23-
language: [ 'go' ]
24-
2521
steps:
22+
- name: Set up Go
23+
uses: actions/setup-go@v4
24+
with:
25+
go-version: 1.21.x
2626
- name: Checkout repository
2727
uses: actions/checkout@v4
28-
29-
# Initializes the CodeQL tools for scanning.
3028
- name: Initialize CodeQL
3129
uses: github/codeql-action/init@v3
3230
with:
33-
languages: ${{ matrix.language }}
31+
languages: go
3432
- name: Autobuild
3533
uses: github/codeql-action/autobuild@v3
3634
- name: Perform CodeQL Analysis

0 commit comments

Comments
 (0)