Skip to content

Commit d66fe00

Browse files
committed
run go vet on make lint
1 parent 9fe617f commit d66fe00

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/actionlint
22
/actionlint.exe
33
/.testtimestamp
4-
/.staticchecktimestamp
4+
/.linttimestamp
55
/env.sh
66
/.github/actionlint.yaml
77
/.github/actionlint.yml
@@ -13,4 +13,4 @@
1313
/playground-dist
1414
/actionlint-workflow-ast
1515
/.git-hooks/.timestamp
16-
/.idea
16+
/.idea

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ all: build test lint
2323

2424
t test: .testtimestamp
2525

26-
.staticchecktimestamp: $(TESTS) $(SRCS) $(TOOL)
26+
.linttimestamp: $(TESTS) $(SRCS) $(TOOL)
27+
go vet ./...
2728
staticcheck ./...
2829
GOOS=js GOARCH=wasm staticcheck ./playground
2930
go run ./scripts/check-checks -quiet ./docs/checks.md
30-
touch .staticchecktimestamp
31+
touch .linttimestamp
3132

32-
l lint: .staticchecktimestamp
33+
l lint: .linttimestamp
3334

3435
popular_actions.go all_webhooks.go availability.go: $(GO_GEN_SRCS)
3536
ifdef SKIP_GO_GENERATE
@@ -68,7 +69,7 @@ scripts/generate-actionlint-matcher/test/want.json: actionlint
6869
./actionlint -format '{{json .}}' ./testdata/err/one_error.yaml > scripts/generate-actionlint-matcher/test/want.json || true
6970

7071
c clean:
71-
rm -f ./actionlint ./.testtimestamp ./.staticchecktimestamp ./actionlint_fuzz-fuzz.zip ./man/actionlint.1 ./man/actionlint.1.html ./actionlint-workflow-ast
72+
rm -f ./actionlint ./.testtimestamp ./.linttimestamp ./actionlint_fuzz-fuzz.zip ./man/actionlint.1 ./man/actionlint.1.html ./actionlint-workflow-ast
7273
rm -rf ./corpus ./crashers
7374

7475
.git-hooks/.timestamp: .git-hooks/pre-push

0 commit comments

Comments
 (0)