Skip to content

Commit 9f38780

Browse files
authored
update CodeQL actions (#340)
1 parent 8b0da5f commit 9f38780

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
#
1212
name: "CodeQL"
1313

14-
on:
15-
workflow_call:
14+
on: workflow_call
1615

1716
jobs:
1817
analyze:
@@ -37,7 +36,7 @@ jobs:
3736

3837
# Initializes the CodeQL tools for scanning.
3938
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@v1
39+
uses: github/codeql-action/init@v2
4140
with:
4241
languages: ${{ matrix.language }}
4342
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -60,4 +59,4 @@ jobs:
6059
# - run: make
6160

6261
- name: Perform CodeQL Analysis
63-
uses: github/codeql-action/analyze@v1
62+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)