[omnisession] prepare v0.8.46 release #11
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dependency Audit | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "Cargo.lock" | |
| - "Cargo.toml" | |
| - "crates/**/Cargo.toml" | |
| - ".cargo/audit.toml" | |
| - "website/pnpm-lock.yaml" | |
| - "website/pnpm-workspace.yaml" | |
| - "website/package.json" | |
| - ".github/workflows/dependency-audit.yml" | |
| pull_request: | |
| paths: | |
| - "Cargo.lock" | |
| - "Cargo.toml" | |
| - "crates/**/Cargo.toml" | |
| - ".cargo/audit.toml" | |
| - "website/pnpm-lock.yaml" | |
| - "website/pnpm-workspace.yaml" | |
| - "website/package.json" | |
| - ".github/workflows/dependency-audit.yml" | |
| schedule: | |
| - cron: "47 5 * * 1" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| rustsec: | |
| name: RustSec audit (high+) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - name: Install cargo-audit | |
| uses: taiki-e/install-action@51c9d223e46ef0189fd65bfe00a28e0de249282c # cargo-audit installer | |
| with: | |
| tool: cargo-audit@0.22.2 | |
| fallback: none | |
| - name: Audit Cargo.lock | |
| run: cargo audit --file Cargo.lock | |
| pnpm: | |
| name: pnpm audit (high+) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4 | |
| with: | |
| version: 11.1.0 | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| cache-dependency-path: website/pnpm-lock.yaml | |
| - name: Install website dependencies | |
| run: pnpm --dir website install --frozen-lockfile --ignore-scripts | |
| - name: Audit website dependencies | |
| run: pnpm --dir website audit --audit-level high |