Skip to content

Commit e29c1b9

Browse files
committed
Merge branch 'feature/makefile' into develop
2 parents 55b4c9d + c3f4e16 commit e29c1b9

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626

2727
- name: Test
2828
working-directory: ${{github.workspace}}/go-algorithm
29-
run: make test
29+
run: make

go-algorithm/Makefile

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.PHONY: all
2-
all: fmt clean build test
2+
all: download verify test
33

44
.PHONY: fmt
55
fmt:
@@ -9,6 +9,14 @@ fmt:
99
clean:
1010
go clean
1111

12+
.PHONY: download
13+
download:
14+
go mod download -x
15+
16+
.PHONY: verify
17+
verify:
18+
go mod verify
19+
1220
.PHONY: build
1321
build:
1422
go build ./...

0 commit comments

Comments
 (0)