Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,37 @@ jobs:
--no-deps \
--config "$RUST_CONFIG"

codeql:
name: CodeQL security analysis
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

Comment on lines 135 to 138
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The codeql job’s steps block uses an indentless sequence (steps: followed by - name at the same indentation). The rest of this workflow consistently indents step list items under steps:; aligning the indentation here improves consistency/readability and avoids potential YAML parsing differences across tooling.

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the indentation in commit cbdbb77. The steps are now properly indented to match the rest of the workflow.

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: rust

- name: Install Rust ${{ env.rust_stable }}
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.rust_stable }}

- uses: Swatinem/rust-cache@v2

- name: Build workspace
run: cargo build --workspace --locked --profile ci

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:rust"

# TODO: Re-enable docs check later
# docs:
# name: docs
Expand Down
Loading