From a9f17fb943c17ef0829a2ae1c191aa0de0366ae8 Mon Sep 17 00:00:00 2001 From: fristyxd Date: Mon, 2 Nov 2026 13:46:08 +0300 Subject: [PATCH] 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. --- .gitea/workflows/ci.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index f668af3..3569dbb 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -10,10 +10,10 @@ jobs: name: Lint, Test & Build runs-on: ubuntu-latest 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 uses: actions/checkout@v4 - - name: Setup pnpm - uses: pnpm/action-setup@v4 - name: Get pnpm store path id: pnpm-store run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT" @@ -24,10 +24,6 @@ jobs: key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm- - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: lts/* - name: Install dependencies run: pnpm install --frozen-lockfile - name: Check formatting @@ -45,10 +41,6 @@ jobs: steps: - name: Checkout 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) continue-on-error: true run: | -- 2.54.1