Skip to content

Commit 388666f

Browse files
committed
Do not specify lint or test targets
1 parent 20f023a commit 388666f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ jobs:
1919
uses: golangci/golangci-lint-action@v8
2020
with:
2121
version: v2.4
22-
args: . ./internal/... ./testdata/...
2322

2423
- name: Download dependencies
2524
run: go mod download
2625

2726
- name: Test
28-
run: go test . ./internal/...
27+
run: go test ./...

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
.PHONY: test cover lint golangci-lint-convgen
1+
.PHONY: lint test cover golangci-lint-convgen
2+
3+
lint:
4+
golangci-lint run
25

36
test:
47
go test ./...
@@ -7,8 +10,5 @@ cover:
710
go test -cover -coverpkg .,./internal/... -coverprofile cover.prof
811
go tool cover -html=cover.prof -o cover.html
912

10-
lint:
11-
golangci-lint run . ./internal/... ./testdata/...
12-
1313
golangci-lint-convgen:
1414
golangci-lint custom

0 commit comments

Comments
 (0)