Skip to content

Commit 2dd66a9

Browse files
committed
print a success message on vet
1 parent 3c4a818 commit 2dd66a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ test:
711711
sqlc-vet: test-postgres-docker
712712
echo "--- sqlc vet"
713713
SQLC_DATABASE_URL="postgresql://postgres:postgres@localhost:5432/$(shell go run scripts/migrate-ci/main.go)" \
714-
sqlc vet -f coderd/database/sqlc.yaml
714+
sqlc vet -f coderd/database/sqlc.yaml && echo "Passed sqlc vet"
715715

716716
# When updating -timeout for this test, keep in sync with
717717
# test-go-postgres (.github/workflows/coder.yaml).

coderd/database/sqlc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ sql:
8383
queries: "./queries"
8484
engine: "postgresql"
8585
# This only works if you are running a local postgres database with the
86-
# schema loaded and migrations run.
86+
# schema loaded and migrations run. Run `make sqlc-vet` to run the linter.
8787
database:
8888
uri: "${SQLC_DATABASE_URL}"
8989
rules:

0 commit comments

Comments
 (0)