mirror of
https://github.com/freemkv/freemkv-keysources.git
synced 2026-10-07 18:13:11 +00:00
CI/lint hardening since v1.6.14: clippy on stable with the MSRV single-sourced from Cargo.toml, cargo-deny dependency-audit gate with first-party git sources allowed (#15), and audience-based comment-guard (#17). No library code changes.
18 lines
604 B
YAML
18 lines
604 B
YAML
name: comment-guard
|
|
|
|
# Caps explanatory prose by COMMENT INTENT (not visibility):
|
|
# //! / /*! module docs — unbounded (module-scoped, can't hide per-item text)
|
|
# /// / /** */ item docs — 8 prose lines (fenced ``` examples excluded)
|
|
# // / /* */ asides — 3 lines (single-blank-separated runs count as one)
|
|
# Overflow belongs in the module //! or docs/<topic>.md with a one-line // pointer.
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
comment-guard:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- name: Run comment-guard
|
|
run: python3 ci/comment-guard.py
|