- Notifications
You must be signed in to change notification settings - Fork39
Code scanning - action#1129
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| name:"Code scanning - action" | |
| on: | |
| push: | |
| branches-ignore: | |
| -'dependabot/**' | |
| pull_request: | |
| schedule: | |
| -cron:'0 18 * * 0' | |
| permissions:{} | |
| jobs: | |
| CodeQL-Build: | |
| runs-on:ubuntu-latest | |
| permissions: | |
| security-events:write | |
| steps: | |
| -name:Checkout repository | |
| uses:actions/checkout@v5 | |
| with: | |
| fetch-depth:2 | |
| submodules:true | |
| persist-credentials:false | |
| -run:git checkout HEAD^2 | |
| if:${{ github.event_name == 'pull_request' }} | |
| -name:Initialize CodeQL | |
| uses:github/codeql-action/init@v4 | |
| with: | |
| languages:python, cpp | |
| -name:Install the latest version of uv | |
| uses:astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41# 7.1.2 | |
| -run:uv build | |
| env: | |
| MAXMINDDB_REQUIRE_EXTENSION:1 | |
| -name:Perform CodeQL Analysis | |
| uses:github/codeql-action/analyze@v4 |