Repository navigation
ci: pull pnpm into CI image, drop redundant setup steps #1107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,34 +25,34 @@ concurrency: | |
| jobs: | ||
| weekly-review: | ||
| name: Aggregate weekly signals | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-22.04 | ||
| container: | ||
| image: ghcr.io/tinyhumansai/openhuman_ci:rust-1.93.0 | ||
|
Comment on lines
+29
to
+30
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify workflow container images are tag-only (not digest-pinned).
rg -nP "image:\s*ghcr\.io/tinyhumansai/openhuman_ci:rust-1\.93\.0(?!@sha256:)" .github/workflowsRepository: tinyhumansai/openhuman Length of output: 1183 Pin the CI container image by digest, not mutable tag. Using 🤖 Prompt for AI Agents
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Deferring this. The
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
✏️ Learnings added
|
||
| timeout-minutes: 30 | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 1 | ||
|
|
||
| - name: Enable Corepack (for pnpm) | ||
| run: corepack enable | ||
|
|
||
| - name: Setup Node.js 24.x | ||
| uses: actions/setup-node@v4 | ||
| - name: Cache pnpm store | ||
| uses: actions/cache@v4 | ||
| with: | ||
| node-version: 24.x | ||
| cache: "pnpm" | ||
| path: ~/.local/share/pnpm/store | ||
| key: pnpm-store-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} | ||
| restore-keys: | | ||
| pnpm-store-${{ runner.os }}- | ||
|
|
||
| - name: Install JS dependencies | ||
| run: pnpm install --frozen-lockfile | ||
|
|
||
| - name: Install Rust toolchain | ||
| uses: dtolnay/rust-toolchain@1.93.0 | ||
|
|
||
| - name: Cache cargo-audit binary | ||
| id: cache-cargo-audit | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ~/.cargo/bin/cargo-audit | ||
| # Image sets CARGO_HOME=/usr/local/cargo, so cargo install drops the | ||
| # binary there — not in $HOME/.cargo/bin. | ||
| path: /usr/local/cargo/bin/cargo-audit | ||
| key: cargo-audit-${{ runner.os }}-v1 | ||
|
|
||
| - name: Install cargo-audit | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.