fix pipeline 2
This commit is contained in:
parent
96532caddf
commit
3760af175a
1 changed files with 8 additions and 1 deletions
|
|
@ -9,9 +9,16 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: go # golang:1.23-bookworm — Go auto-fetches the 1.24 toolchain (go.work is 1.24)
|
||||
# Use the Node-based image so JS actions (checkout, setup-go) can run — the `go`
|
||||
# image has no Node, which breaks actions/checkout with:
|
||||
# exec: "node": executable file not found in $PATH
|
||||
# setup-go then installs the exact Go the go.work needs.
|
||||
runs-on: docker # node:22-bookworm
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.24'
|
||||
- run: go version
|
||||
- run: go build ./...
|
||||
- run: go test ./...
|
||||
|
|
|
|||
Loading…
Reference in a new issue