ci: standardize CI workflows and git hooks
Some checks failed
Public Repo Readiness / Check Public Repo Readiness (push) Failing after 7s
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:
28
.github/workflows/nightly.yml
vendored
Normal file
28
.github/workflows/nightly.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user