diff --git a/.github/workflows/cultmesh-portability.yml b/.github/workflows/cultmesh-portability.yml index 959171ce..3755c629 100644 --- a/.github/workflows/cultmesh-portability.yml +++ b/.github/workflows/cultmesh-portability.yml @@ -25,7 +25,8 @@ jobs: reactive-and-resource-lifetime: name: ${{ matrix.os }} reactive semantics and leases runs-on: ${{ matrix.os }} - timeout-minutes: 30 + # The forge runner cap is 60 minutes; the job value must match or the job dies at the lower of the two. + timeout-minutes: 60 strategy: fail-fast: false matrix: @@ -45,17 +46,31 @@ jobs: with: dotnet-version: 10.0.x + # The forge runner image (catthehacker/ubuntu:act-latest) carries Node 24 and Python 3.12 on PATH, and these two + # setup actions downloaded them again from github.com anyway (about 2.7 and 2.8 minutes, run 639) because the + # image's tool cache is not the one they read. They run only where the image does not carry the tools (the + # workflow_dispatch Windows leg); the check below fails a Linux image that stops carrying them. - name: Set up Node.js + if: runner.os != 'Linux' uses: actions/setup-node@v4 with: node-version: 24 cache: npm - name: Set up Python + if: runner.os != 'Linux' uses: actions/setup-python@v5 with: python-version: "3.12" + - name: Check the image carries Node 24 and Python 3.12 + if: runner.os == 'Linux' + shell: bash + run: | + set -euo pipefail + node --version | grep -E '^v24\.' + python --version | grep -E '^Python 3\.12\.' + - name: Install TypeScript workspace dependencies run: npm install --no-package-lock