Skip to content

CodeQL

CodeQL #39

Workflow file for this run

name: CodeQL
on:
push:
branches: ["master"]
paths-ignore:
- "README.md"
pull_request:
branches: ["master"]
paths-ignore:
- "README.md"
workflow_dispatch:
schedule:
- cron: "11 4 * * 1"
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze (Rust)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: rust
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install native GUI deps (Linux)
run: |
sudo apt-get update
sudo apt-get install -y pkg-config libglib2.0-dev libgtk-4-dev
- name: Build workspace (all features)
run: cargo build --workspace --all-features --locked
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3