ci: install Node in the golang jobs so the checkout action can run

- The golang image has no Node, and actions/checkout is a Node action
- The first run on my runner failed in the go and vuln jobs for this reason
This commit is contained in:
tgiachi 2026-11-10 15:57:29 +01:00
commit a10616e216

View file

@ -12,6 +12,9 @@ jobs:
runs-on: docker runs-on: docker
container: golang:1.27 container: golang:1.27
steps: steps:
# The checkout action runs on Node, which the golang image does not carry.
- name: Install Node
run: apt-get update -qq && apt-get install -y -qq nodejs git
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: make go-ci - run: make go-ci
@ -28,5 +31,8 @@ jobs:
runs-on: docker runs-on: docker
container: golang:1.27 container: golang:1.27
steps: steps:
# The checkout action runs on Node, which the golang image does not carry.
- name: Install Node
run: apt-get update -qq && apt-get install -y -qq nodejs git
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: make vuln - run: make vuln