Skip to content

Commit 4456ada

Browse files
committed
Refactor ci
1 parent 7ff0bb9 commit 4456ada

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,4 @@ jobs:
2222
go install github.com/go-bindata/go-bindata/...@latest &&
2323
go install honnef.co/go/tools/cmd/staticcheck@latest &&
2424
go generate &&
25-
make build &&
26-
make lint &&
27-
make test &&
28-
make vet
25+
make

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
GIT_COMMITSHA = $(shell git rev-parse HEAD)
22
IMAGE_NAME = "stripemock/stripe-mock"
33

4-
all: test vet lint check-gofmt build
4+
all: test vet lint build
55

66
build:
77
go build -mod=vendor -o stripe-mock
88

9+
check-gofmt:
10+
scripts/check_gofmt.sh
11+
912
lint:
1013
staticcheck
1114

0 commit comments

Comments
 (0)