Skip to content

Commit 3161f9d

Browse files
committed
chore: update github actions
1 parent e29c1b9 commit 3161f9d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
# prettier-ignore
2525
go-version: '1.22'
2626

27+
- name: Download dependencies
28+
working-directory: ${{github.workspace}}/go-algorithm
29+
run: make module
30+
2731
- name: Test
2832
working-directory: ${{github.workspace}}/go-algorithm
29-
run: make
33+
run: make test

go-algorithm/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.PHONY: all
22
all: download verify test
33

4+
.PHONY: module
5+
module: download verify
6+
47
.PHONY: fmt
58
fmt:
69
go fmt ./...

0 commit comments

Comments
 (0)