graphql-engine/scripts/make/ci.mk
Daniel Harvey fe40ece04f [ci] split out api-tests runs by backend
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7064
GitOrigin-RevId: b5e5a2e70b69fa901d375f229aa88aed80bcb848
2022-11-30 16:23:03 +00:00

17 lines
525 B
Makefile

WORKSPACE ?= $(shell dirname $(shell pwd))/
.PHONY: pipeline-build
## pipeline-build: check that the CI pipeline still builds
pipeline-build:
cd .buildkite/pipeline-gen && go build ./...
.PHONY: pipeline-format
## pipeline-format: run go fmt on all the Go files in .buildkite
pipeline-format:
cd .buildkite && gofmt -l -w -s .
.PHONY: pipeline-shellcheck
## pipeline-shellcheck: run shellcheck on all CI scripts in .buildkite/scripts
pipeline-shellcheck:
shellcheck .buildkite/scripts/{.,**}/*.sh -P .buildkite/scripts