Skip to content

Commit 63a319a

Browse files
committed
ci: fix codeql config
Signed-off-by: Dmitry Kharitonov <[email protected]>
1 parent ebadc40 commit 63a319a

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,21 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
language: [ 'go', 'javascript' ]
32+
language: [ 'go', 'javascript-typescript' ]
3333
steps:
34-
- name: Checkout repo
35-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
34+
- name: Checkout repository
35+
uses: actions/checkout@v4
36+
- name: Install Go
37+
uses: actions/setup-go@v4
3638
with:
37-
fetch-depth: 1
39+
go-version-file: ./backend/go.mod
3840
- name: Initialize CodeQL
39-
uses: github/codeql-action/init@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
41+
uses: github/codeql-action/init@v3
4042
with:
4143
languages: ${{ matrix.language }}
4244
- name: Autobuild
43-
uses: github/codeql-action/autobuild@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
45+
uses: github/codeql-action/autobuild@v3
4446
- name: Perform CodeQL Analysis
45-
uses: github/codeql-action/analyze@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
47+
uses: github/codeql-action/analyze@v3
48+
with:
49+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)