Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- 'internal/**'
- 'tests/**'
- 'benches/**'
- 'cli/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/core.yml'
Expand All @@ -19,6 +20,7 @@ on:
- 'internal/**'
- 'tests/**'
- 'benches/**'
- 'cli/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/core.yml'
Expand Down Expand Up @@ -59,3 +61,17 @@ jobs:

- name: Build library
run: cargo build

- name: Run hygiene check (cli)
run: cargo run -p cougr-cli -- check --path .

- name: Run verified check (canonical examples)
run: cargo run -p cougr-cli -- check --path . --verified --canonical-only --output verified.json

- name: Upload verified badge report
if: always()
uses: actions/upload-artifact@v4
with:
name: verified-badge-report
path: verified.json
retention-days: 30
48 changes: 48 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ clap = { version = "4.6", features = ["derive"] }
# `debug-embed` keeps the templates compiled into the binary in debug builds
# too, so `cougr new` behaves identically for contributors and end users.
rust-embed = { version = "8.12", features = ["debug-embed"] }
regex = "1"
anyhow = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"

[dev-dependencies]
tempfile = "3"
Loading
Loading