fix pipeline 2
All checks were successful
Deploy scraper-google / build (push) Successful in 17m37s
Deploy scraper-google / deploy (push) Has been skipped

This commit is contained in:
Elshimy Ziad Magdy Taha 2026-07-09 18:06:06 +05:00
parent 96532caddf
commit 3760af175a

View file

@ -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 ./...