-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
I'm on MacOS using act
to run GitHub Actions locally. Below is my sample yaml and its output.
It appears to be stuck on Node 16, although the v4 action has been updated to use Node 20, and the v5 action was updated to use Node 24.
[action.yml/test] ⭐ Run Set up job
[action.yml/test] 🚀 Start image=node:16-bullseye-slim
[action.yml/test] 🐳 docker pull image=node:16-bullseye-slim platform=linux/amd64 username= forcePull=true
I tried forcing the Node version using setup-node
for both versions, but neither appears to take.
- Ubuntu 22.04 is using Node 20.19.4.
- Ubuntu 24.04 is using Node 20.19.4
- The
action/checkout@5
uses Node 24. - I see that I v5 "requires a minimum Actions Runner version of v2.327.1 to run", but I'm unsure how to check that. (do i need local runners?)
(Side issue, Python 13 appears unavailable although it appears in the Ubuntu v22.04)
actions.yaml
jobs:
test:
name: test
runs-on: ubuntu-22.04
strategy:
matrix:
python-version:
# - "3.10"
# - "3.11"
- "3.12"
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.19.4'
- name: Checkout
uses: actions/checkout@v54
act --container-architecture linux/amd64 -j test
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock'
[action.yml/test] ⭐ Run Set up job
[action.yml/test] 🚀 Start image=node:16-bullseye-slim
[action.yml/test] 🐳 docker pull image=node:16-bullseye-slim platform=linux/amd64 username= forcePull=true
[action.yml/test] 🐳 docker create image=node:16-bullseye-slim platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[action.yml/test] 🐳 docker run image=node:16-bullseye-slim platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[action.yml/test] 🐳 docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[action.yml/test] ✅ Success - Set up job
[action.yml/test] ☁ git clone 'https://github.com/actions/setup-node' # ref=v4
[action.yml/test] ☁ git clone 'https://github.com/astral-sh/setup-uv' # ref=v6
[action.yml/test] 🧪 Matrix: map[python-version:3.12]
[action.yml/test] ⭐ Run Main Setup Node
[action.yml/test] 🐳 docker cp src=/Users/brad.williams/.cache/act/actions-setup-node@v4/ dst=/var/run/act/actions/actions-setup-node@v4/
[action.yml/test] 🐳 docker exec cmd=[/usr/local/bin/node /var/run/act/actions/actions-setup-node@v4/dist/setup/index.js] user= workdir=
| Found in cache @ /opt/hostedtoolcache/node/20.19.4/x64
[action.yml/test] ❓ ::group::Environment details
| node: v20.19.4
| npm: 10.8.2
| yarn: 1.22.19
[action.yml/test] ❓ ::endgroup::
[action.yml/test] ❓ add-matcher /run/act/actions/actions-setup-node@v4/.github/tsc.json
[action.yml/test] ❓ add-matcher /run/act/actions/actions-setup-node@v4/.github/eslint-stylish.json
[action.yml/test] ❓ add-matcher /run/act/actions/actions-setup-node@v4/.github/eslint-compact.json
[action.yml/test] ✅ Success - Main Setup Node [1.464610042s]
[action.yml/test] ⚙ ::set-output:: node-version=v20.19.4
[action.yml/test] ⚙ ::add-path:: /opt/hostedtoolcache/node/20.19.4/x64/bin
[action.yml/test] ⭐ Run Main Checkout
[action.yml/test] 🐳 docker cp src=/Users/brad.williams/git/sample_pypackage/. dst=/Users/brad.williams/git/sample_pypackage
[action.yml/test] ✅ Success - Main Checkout [25.032084ms]
[action.yml/test] ⭐ Run Main Install uv and setup Python
[action.yml/test] 🐳 docker cp src=/Users/brad.williams/.cache/act/astral-sh-setup-uv@v6/ dst=/var/run/act/actions/astral-sh-setup-uv@v6/
[action.yml/test] 🐳 docker exec cmd=[/usr/local/bin/node /var/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js] user= workdir=
| /run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:113173
| webidl.is.ReadableStream = webidl.util.MakeTypeAssertion(ReadableStream)
| ^
|
| ReferenceError: ReadableStream is not defined
| at Object.47879 (/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:113173:58)
| at __nccwpck_require__ (/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:135576:43)
| at Object.73168 (/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:110888:20)
| at __nccwpck_require__ (/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:135576:43)
| at Object.60660 (/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:106127:5)
| at __nccwpck_require__ (/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:135576:43)
| at Object.99051 (/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:110229:90)
| at __nccwpck_require__ (/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:135576:43)
| at Object.54398 (/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:106855:5)
| at __nccwpck_require__ (/run/act/actions/astral-sh-setup-uv@v6/dist/setup/index.js:135576:43)
[action.yml/test] ❌ Failure - Main Install uv and setup Python [717.135792ms]
[action.yml/test] exitcode '1': failure
[action.yml/test] ⭐ Run Complete job
[action.yml/test] ✅ Success - Complete job
[action.yml/test] 🏁 Job failed
Error: Job 'test' failed
Metadata
Metadata
Assignees
Labels
No labels