Files
EVEngine/.github/workflows/codeql.yml
T
dependabot[bot] a163c50500 build(deps): bump the github-actions group with 8 updates
Bumps the github-actions group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `4` | `7` |
| [actions/setup-java](https://github.com/actions/setup-java) | `4.9.1` | `5.7.0` |
| [android-actions/setup-android](https://github.com/android-actions/setup-android) | `3.2.2` | `4.0.1` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4` | `7` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `4.3.0` | `8.0.1` |
| [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) | `96b4a1ef7235a096b17240c259729fdd70c83d45` | `e8998f949152b193b063cb0ec769d69d929409be` |
| [actions/cache](https://github.com/actions/cache) | `4.2.0` | `6.1.0` |
| [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) | `69c8581131285561115a2e413eb0037446bdc2d6` | `b530d96654c385303d652368551fb075bc2f0b6b` |


Updates `actions/checkout` from 4 to 7
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v4...v7)

Updates `actions/setup-java` from 4.9.1 to 5.7.0
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/cf277c60eb25467037889841efdb72551f06f6c3...b6effb05e454b25005698d916606bdc6ffcbf961)

Updates `android-actions/setup-android` from 3.2.2 to 4.0.1
- [Release notes](https://github.com/android-actions/setup-android/releases)
- [Commits](https://github.com/android-actions/setup-android/compare/9fc6c4e9069bf8d3d10b2204b1fb8f6ef7065407...40fd30fb8d7440372e1316f5d1809ec01dcd3699)

Updates `actions/upload-artifact` from 4 to 7
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7)

Updates `actions/download-artifact` from 4.3.0 to 8.0.1
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/d3f86a106a0bac45b974a628896c90dbdf5c8093...3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c)

Updates `actions/attest-build-provenance` from 96b4a1ef7235a096b17240c259729fdd70c83d45 to e8998f949152b193b063cb0ec769d69d929409be
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/96b4a1ef7235a096b17240c259729fdd70c83d45...e8998f949152b193b063cb0ec769d69d929409be)

Updates `actions/cache` from 4.2.0 to 6.1.0
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/1bd1e32a3bdc45362d1e726936510720a7c30a57...55cc8345863c7cc4c66a329aec7e433d2d1c52a9)

Updates `reactivecircus/android-emulator-runner` from 69c8581131285561115a2e413eb0037446bdc2d6 to b530d96654c385303d652368551fb075bc2f0b6b
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/69c8581131285561115a2e413eb0037446bdc2d6...b530d96654c385303d652368551fb075bc2f0b6b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-java
  dependency-version: 5.7.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: android-actions/setup-android
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/download-artifact
  dependency-version: 8.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/attest-build-provenance
  dependency-version: e8998f949152b193b063cb0ec769d69d929409be
  dependency-type: direct:production
  dependency-group: github-actions
- dependency-name: actions/cache
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: reactivecircus/android-emulator-runner
  dependency-version: b530d96654c385303d652368551fb075bc2f0b6b
  dependency-type: direct:production
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-22 14:01:13 +00:00

83 lines
2.8 KiB
YAML

# CodeQL security analysis (C++ engine + Python tools).
#
# Runs on pushes to dev, weekly, and on demand -- not on every PR -- because
# the C++ analysis requires a full instrumented build (~40 min). The SARIF
# results appear under Security -> Code scanning and are also posted as PR
# comments when a PR branch is analyzed.
name: CodeQL
on:
push:
branches: [dev]
schedule:
- cron: "0 16 * * 0"
workflow_dispatch:
concurrency:
group: codeql-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
security-events: write
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-24.04
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
language: ["cpp", "python"]
steps:
- name: Checkout
timeout-minutes: 10
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: recursive
- name: Install system packages (C++ build)
if: matrix.language == 'cpp'
timeout-minutes: 10
run: |
sudo sed -i -E 's#https?://[^/]*archive\.ubuntu\.com/ubuntu#http://archive.ubuntu.com/ubuntu#g' \
/etc/apt/apt-mirrors.txt /etc/apt/sources.list /etc/apt/sources.list.d/*.sources 2>/dev/null || true
sudo apt-get update -o Acquire::Retries=2 \
-o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30
sudo apt-get install -y --no-install-recommends \
build-essential cmake ninja-build \
libx11-dev libxxf86vm-dev libxi-dev libxcursor-dev \
libxrandr-dev libxinerama-dev libxext-dev libxss-dev \
libgl1-mesa-dev \
libbz2-dev libpng-dev \
libwayland-dev libxkbcommon-dev libasound2-dev \
mesa-vulkan-drivers vulkan-tools
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: security-and-quality
- name: Build (C++)
if: matrix.language == 'cpp'
timeout-minutes: 40
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Third-party deps ship prebuilt SDK headers/libs; the engine itself
# must be built under CodeQL tracing. BUILD_TESTING=OFF keeps the
# scan focused on engine sources and avoids the test-only TUs.
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DBUILD_PLATFORM=linux \
-DBUILD_TESTING=OFF \
-B build/codeql -S .
cmake --build build/codeql --target deps -j "$(nproc)"
cmake --build build/codeql -j "$(nproc)"
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"