CI / build (push) Successful in 1m44s
- Add winePath helper that prepends Z: when platform is windows on Linux - Thread platform through buildModPath, buildAutoArgs, and Start() - Apply Z: prefix to -config=, -mod=, -profiles=, and %command% binary paths - Add tests for winePath, buildAutoArgs, and buildModPath with platform param - Fix formatting across services package with gofmt - Include all prior bug fixes from this branch
24 lines
569 B
YAML
24 lines
569 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- "**"
|
|
pull_request: {}
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.25"
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
- run: cd frontend && npm ci && npm run build
|
|
- run: mkdir -p backend/embed/dist && cp -r frontend/dist/. backend/embed/dist/
|
|
- run: cd backend && go build ./...
|
|
- run: cd backend && go test ./...
|
|
- run: cd frontend && npm test
|