File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 10
10
jobs :
11
11
test :
12
12
uses : go-simpler/.github/.github/workflows/test.yml@main
13
+ with :
14
+ packages : ' .' # ignore `internal/assert`
13
15
lint :
14
16
uses : go-simpler/.github/.github/workflows/lint.yml@main
15
17
vuln :
Original file line number Diff line number Diff line change 4
4
all : test lint
5
5
6
6
test :
7
- go test -race -shuffle=on -cover ./...
7
+ go test -race -shuffle=on -cover .
8
8
9
9
test/cover :
10
- go test -race -shuffle=on -coverprofile=coverage.out ./...
10
+ go test -race -shuffle=on -coverprofile=coverage.out .
11
11
go tool cover -html=coverage.out
12
12
13
13
lint :
19
19
generate :
20
20
go generate ./...
21
21
22
+ # run `make pre-commit` once to install the hook.
22
23
pre-commit : .git/hooks/pre-commit test lint tidy generate
23
24
git diff --exit-code
24
25
You can’t perform that action at this time.
0 commit comments