Add github action for make build

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-01-22 17:01:01 +01:00
parent a64cf4e51e
commit 25e97e25b6
2 changed files with 8 additions and 1 deletions

View File

@@ -8,6 +8,13 @@ on:
- "main" - "main"
jobs: jobs:
build:
name: "build"
runs-on: "ubuntu-22.04"
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-node@v4"
- run: "make build"
fmt-check: fmt-check:
name: "fmt-check" name: "fmt-check"
runs-on: "ubuntu-22.04" runs-on: "ubuntu-22.04"

View File

@@ -28,7 +28,7 @@ vet:
$(GO) vet ./... $(GO) vet ./...
.PHONY: build .PHONY: build
build: bin/probod build: vet bin/probod
.PHONY: bin/probod .PHONY: bin/probod
bin/probod: pkg/api/console/v1/schema/schema.go pkg/api/console/v1/types/types.go pkg/api/console/v1/v1_resolver.go bin/probod: pkg/api/console/v1/schema/schema.go pkg/api/console/v1/types/types.go pkg/api/console/v1/v1_resolver.go