Dead code — certs are generated at startup, not loaded from PEM files. Removes RUSTSEC-2025-0134 warning. Audit now passes clean. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
562 B
YAML
29 lines
562 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: rustfmt, clippy
|
|
- uses: Swatinem/rust-cache@v2
|
|
- name: fmt
|
|
run: cargo fmt --check
|
|
- name: clippy
|
|
run: cargo clippy -- -D warnings
|
|
- name: test
|
|
run: cargo test
|
|
- name: audit
|
|
run: cargo install cargo-audit && cargo audit
|