c2c093595a
- Add --ring-shape (circle/square/diamond/hexagon/pill) with geometry module - Reuse PAM context across auth attempts (no reload per-keystroke) - Proper error propagation in screenshot effects (unwrap → Result + context) - Remove theme presets (modern/pixel/glass) and --theme flag - Add input cooldown after failed attempt (400ms debounce) - Add Ctrl+held peek password, Home/End/Delete cursor keys - Add all input unit tests (23 new tests) - Add --max-dots, feedback duration, timeout, interval config options - Add --log-path, --auth-timeout, verifying_color config fields - Remove unused deps: futures, gio, env_logger, num-traits, thiserror, bytemuck - Fix media bar: remove stop button, fix art+text overlap, uniform hit areas - Fix CI: source-only releases, nightly prereleases, dependabot groups, labeler paths - Update issue templates with structured forms - Add stale workflow for inactive issues/PRs - Update README: full options table (28 flags), remove theme docs, add shapes
43 lines
920 B
YAML
43 lines
920 B
YAML
name: Security Scan
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * 0' # Weekly on Sunday at midnight
|
|
workflow_dispatch: # Manual trigger
|
|
push:
|
|
branches: [main, master]
|
|
paths:
|
|
- 'Cargo.toml'
|
|
- 'Cargo.lock'
|
|
- 'deny.toml'
|
|
- '.github/workflows/security.yml'
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
security-audit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Install Rust
|
|
uses: dtolnay/rust-toolchain@stable
|
|
|
|
- uses: Swatinem/rust-cache@v2
|
|
|
|
- name: Install security tools
|
|
uses: taiki-e/install-action@v2
|
|
with:
|
|
tool: cargo-audit,cargo-deny,cargo-outdated
|
|
|
|
- name: Run cargo audit
|
|
run: cargo audit
|
|
|
|
- name: Run cargo deny
|
|
run: cargo deny check
|
|
|
|
- name: Check for outdated dependencies
|
|
run: cargo outdated --exit-code 1 || echo "Some dependencies are outdated"
|
|
|