ci: use the runner image toolchain instead of setup-* actions
node 26.13.0, pnpm 12.16.1, corepack and python3+pipx are baked into git.fristy.net/actions/runner-images, so setup-node, pnpm/action-setup and setup-python only re-downloaded them (and burned the shared GitHub API quota). setup-python also asked for 3.15, which has no build for the Ubuntu 26.10 runner image, breaking the Code Health job.
This commit is contained in:
1 file changed
+2
-10
@@ -10,10 +10,10 @@ jobs:
|
|||||||
name: Lint, Test & Build
|
name: Lint, Test & Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
# node, pnpm and python are baked into git.fristy.net/actions/runner-images,
|
||||||
|
# so no setup-* action (and no GitHub API call) is needed here.
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup pnpm
|
|
||||||
uses: pnpm/action-setup@v4
|
|
||||||
- name: Get pnpm store path
|
- name: Get pnpm store path
|
||||||
id: pnpm-store
|
id: pnpm-store
|
||||||
run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"
|
run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"
|
||||||
@@ -24,10 +24,6 @@ jobs:
|
|||||||
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pnpm-
|
${{ runner.os }}-pnpm-
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: lts/*
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
@@ -45,10 +41,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.15"
|
|
||||||
- name: Scan with desloppify (CI profile, objective only)
|
- name: Scan with desloppify (CI profile, objective only)
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user