From a10616e216680d2242726f90b76db8967eaf36df Mon Sep 17 00:00:00 2001 From: tgiachi Date: Tue, 10 Nov 2026 15:57:29 +0100 Subject: [PATCH] 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 --- .forgejo/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index faafb60..d9854ea 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -12,6 +12,9 @@ jobs: runs-on: docker container: golang:1.27 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 - run: make go-ci @@ -28,5 +31,8 @@ jobs: runs-on: docker container: golang:1.27 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 - run: make vuln