ci: standardize CI workflows and git hooks
Some checks failed
Public Repo Readiness / Check Public Repo Readiness (push) Failing after 7s

Add ci.yml (compile/fmt/lint/test/audit/machete), nightly.yml (geiger
unsafe audit), deny.toml (license/ban/source policy), and Justfile with
pre-commit, prepush, ci, and install-hooks recipes.
This commit is contained in:
Joseph O'Brien
2026-04-06 20:06:25 -04:00
parent ea1ad58bd7
commit 41d19a6988
4 changed files with 145 additions and 0 deletions

28
.github/workflows/nightly.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Nightly
on:
schedule:
- cron: "0 2 * * *"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
geiger:
name: Unsafe Audit (geiger)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo install cargo-geiger --locked
- run: cargo geiger --workspace 2>&1 | tee geiger-report.txt
- run: |
echo "## Geiger Unsafe Audit" >> $GITHUB_STEP_SUMMARY
tee -a $GITHUB_STEP_SUMMARY < geiger-report.txt
- uses: actions/upload-artifact@v4
with:
name: geiger-report
path: geiger-report.txt
retention-days: 30