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:
parent
1d68f9506b
commit
a10616e216
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue