@@ -19,33 +19,26 @@ jobs:
19
19
security-events : write
20
20
21
21
steps :
22
- - name : Checkout repository
23
- uses : actions/checkout@v4
24
- with :
25
- # We must fetch at least the immediate parents so that if this is
26
- # a pull request then we can checkout the head.
27
- fetch-depth : 2
28
- submodules : true
29
- persist-credentials : false
30
-
31
- # If this run was triggered by a pull request event, then checkout
32
- # the head of the pull request instead of the merge commit.
33
- - run : git checkout HEAD^2
34
- if : ${{ github.event_name == 'pull_request' }}
35
-
36
- # Initializes the CodeQL tools for scanning.
37
- - name : Initialize CodeQL
38
- uses : github/codeql-action/init@v3
39
- # Override language selection by uncommenting this and choosing your languages
40
- with :
41
- languages : python, cpp
42
-
43
- - name : Install the latest version of uv
44
- uses : astral-sh/setup-uv@v6
45
-
46
- - run : uv build
47
- env :
48
- MAXMINDDB_REQUIRE_EXTENSION : 1
49
-
50
- - name : Perform CodeQL Analysis
51
- uses : github/codeql-action/analyze@v3
22
+ - name : Checkout repository
23
+ uses : actions/checkout@v4
24
+ with :
25
+ fetch-depth : 2
26
+ submodules : true
27
+ persist-credentials : false
28
+ - run : git checkout HEAD^2
29
+ if : ${{ github.event_name == 'pull_request' }}
30
+
31
+ - name : Initialize CodeQL
32
+ uses : github/codeql-action/init@v3
33
+ with :
34
+ languages : python, cpp
35
+
36
+ - name : Install the latest version of uv
37
+ uses : astral-sh/setup-uv@v6
38
+
39
+ - run : uv build
40
+ env :
41
+ MAXMINDDB_REQUIRE_EXTENSION : 1
42
+
43
+ - name : Perform CodeQL Analysis
44
+ uses : github/codeql-action/analyze@v3
0 commit comments