From 6b44c3e0846aaa4f02e4620d48e86ae48d12de8e Mon Sep 17 00:00:00 2001 From: John Anderson Date: Thu, 20 Mar 2025 17:34:41 -0400 Subject: [PATCH] use a make target for test as well All the other github actions have an equivalent make target. This change makes that consistent for test as well. --- .github/workflows/checks.yml | 2 +- Makefile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e1db215c..93861e9b 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -37,7 +37,7 @@ jobs: go-version-file: go.mod - name: Go test run: | - go test ./... -race + make test copyright: name: "copyright headers" diff --git a/Makefile b/Makefile index 675178e7..9b4a448b 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,9 @@ copyrightcheck: copyrightfix: go run github.com/hashicorp/copywrite@latest headers +test: + go test ./... -race + check: copyrightcheck vetcheck fmtcheck fix: copyrightfix fmtfix