Skip to content

Commit 7f81ff7

Browse files
committed
Improve CI
1 parent ab0f702 commit 7f81ff7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/go.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ jobs:
2222
- name: Build
2323
run: go build -v ./...
2424

25-
- name: sumlint
25+
- name: Build test dir
26+
working-directory: test
27+
run: go build -v ./...
28+
29+
- name: Build sumlint
2630
run: go build github.com/gomoni/sumlint/cmd/sumlint
2731

28-
- name: oneoflint
29-
run: go build github.com/gomoni/sumlint/cmd/oneoflint
32+
- name: Build oneoflint
33+
run: go build github.com/gomoni/sumlint/cmd
3034

3135
- name: Test
3236
run: go test -race -v ./...

0 commit comments

Comments
 (0)