Skip to content

Commit e0652c6

Browse files
committed
chore(lefthook): modifications to lefthook config
1 parent 88b3e63 commit e0652c6

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.lefthook.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,15 @@ pre-commit:
3737
- go.sum
3838
stage_fixed: true
3939
- name: lint & format
40-
run: golangci-lint run ./...
4140
glob: "*.go"
42-
stage_fixed: true
43-
- name: format markdown
44-
glob: "*md"
45-
run: go tool markdownfmt -w .
46-
stage_fixed: true
47-
- name: check release config
48-
glob: ".goreleaser.yaml"
49-
run: go tool goreleaser check
41+
group:
42+
parallel: false
43+
jobs:
44+
- name: format
45+
run: golangci-lint fmt ./...
46+
stage_fixed: true
47+
- name: lint
48+
run: golangci-lint run ./...
5049

5150
post-checkout:
5251
parallel: false

0 commit comments

Comments
 (0)