Resolve pre-commit hook formatting failures for multiple files: **Files Fixed:** - .woodpecker/Dockerfile — Add missing final newline - .woodpecker/Dockerfile.cross — Add missing final newline - justfiles/ci.just — Remove trailing whitespace from recipe definitions - docs/setup/tracking-setup.md — Add missing final newline - crates/vapora-backend/src/api/provider_metrics.rs — Add missing final newline **Hooks Passing:** ✅ end-of-file-fixer — Files now have proper final newlines ✅ trailing-whitespace — Removed all trailing spaces ✅ mixed-line-ending — Line endings normalized These changes ensure the pre-commit framework can properly validate file formatting without blocking commits on infrastructure issues.
48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
jobs:
|
|
audit:
|
|
name: Security Audit
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Install Rust
|
|
uses: dtolnay/rust-toolchain@stable
|
|
- name: Audit
|
|
run: cargo audit --deny warnings
|
|
- name: Deny Check
|
|
run: cargo deny check licenses advisories
|
|
check:
|
|
name: Check + Test + Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Install Rust
|
|
uses: dtolnay/rust-toolchain@master
|
|
with:
|
|
toolchain: ${{ matrix.rust-version }}
|
|
- name: Cache
|
|
uses: Swatinem/rust-cache@v2
|
|
- name: Check
|
|
run: cargo check --all-targets
|
|
- name: Format Check
|
|
run: cargo fmt --all -- --check
|
|
- name: Clippy
|
|
run: cargo clippy --all-targets -- -D warnings
|
|
- name: Tests
|
|
run: cargo test --workspace
|
|
strategy:
|
|
matrix:
|
|
rust-version:
|
|
- stable
|
|
- nightly
|
|
name: Rust CI
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- main
|
|
- develop
|