Skip to content

chore(deps): bump chrono in the minor-and-patch group #127

chore(deps): bump chrono in the minor-and-patch group

chore(deps): bump chrono in the minor-and-patch group #127

name: Quality & Security (Rust)
on:
push:
branches: [main]
pull_request:
branches: [main, develop]
permissions:
contents: read
concurrency:
group: quality-security-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-test:
name: Code Quality – Format, Clippy & Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.94.0
with:
components: rustfmt, clippy
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
# aura links GPUI + tray-icon (gtk feature), which pull in GTK,
# xkbcommon, xcb, and fontconfig headers via pkg-config. Without
# these dev packages the build script fails on hosted runners.
- name: Install Linux build dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential pkg-config \
libgtk-3-dev libxkbcommon-x11-dev \
libxcb1-dev libxcb-render0-dev \
libxcb-shape0-dev libxcb-xfixes0-dev \
libfontconfig-dev
- name: Check formatting
run: cargo fmt --all --check
- name: Run clippy
run: cargo clippy --workspace --all-targets --locked -- -D warnings
- name: Run tests
run: cargo test --workspace --locked
platform-validation:
name: Platform Validation (${{ matrix.label }})
runs-on: ${{ matrix.runner }}
needs: lint-and-test
strategy:
fail-fast: false
matrix:
include:
- label: linux
runner: ubuntu-latest
- label: macos
runner: macos-15
- label: windows
runner: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.94.0
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
# GPUI + tray-icon (gtk) need these dev packages on Linux.
- name: Install Linux build dependencies
if: startsWith(matrix.runner, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential pkg-config \
libgtk-3-dev libxkbcommon-x11-dev \
libxcb1-dev libxcb-render0-dev \
libxcb-shape0-dev libxcb-xfixes0-dev \
libfontconfig-dev
- name: Run tests
run: cargo test --workspace --locked
- name: Build release binaries
run: cargo build --workspace --release --locked
security:
name: Dependency Security Scan (cargo-audit)
runs-on: ubuntu-latest
needs: platform-validation
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.94.0
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
- name: Install cargo-audit
run: cargo install cargo-audit --locked
- name: Run cargo-audit
run: cargo audit