@@ -19,29 +19,26 @@ jobs:
1919 security-events : write
2020
2121 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- - name : Install the latest version of uv
37- uses : astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # 6.0.1
38-
39- - name : Install the latest version of uv
40- uses : astral-sh/setup-uv@v6
41-
42- - run : uv build
43- env :
44- MAXMINDDB_REQUIRE_EXTENSION : 1
45-
46- - name : Perform CodeQL Analysis
47- 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@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # 6.0.1
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