Skip to content

Commit 55b4c9d

Browse files
committed
Merge branch 'feature/makefile' into develop
2 parents 95d4b1e + a02fc77 commit 55b4c9d

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

.github/workflows/go.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
- name: Setup Go
2222
uses: actions/setup-go@v5
2323
with:
24+
# prettier-ignore
2425
go-version: '1.22'
2526

2627
- name: Test
2728
working-directory: ${{github.workspace}}/go-algorithm
28-
run: go test -v ./...
29+
run: make test

.github/workflows/gradle.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- name: Setup JDK
2222
uses: actions/setup-java@v4
2323
with:
24+
# prettier-ignore
2425
distribution: 'temurin'
2526
java-version: '21'
2627

.github/workflows/poetry.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- name: Setup Python
2222
uses: actions/setup-python@v5
2323
with:
24+
# prettier-ignore
2425
python-version: '3.12'
2526

2627
- name: Install dependencies

go-algorithm/Makefile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.PHONY: all
2+
all: fmt clean build test
3+
4+
.PHONY: fmt
5+
fmt:
6+
go fmt ./...
7+
8+
.PHONY: clean
9+
clean:
10+
go clean
11+
12+
.PHONY: build
13+
build:
14+
go build ./...
15+
16+
.PHONY: test
17+
test:
18+
go test -v ./...

0 commit comments

Comments
 (0)