Skip to content

Commit 744fb32

Browse files
Dror TiroshDror Tirosh
authored andcommitted
run spectest only when there are tests
1 parent c5b4b06 commit 744fb32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ jobs:
2121
id: go
2222
- name: Install staticcheck
2323
run: go install github.com/lightclient/rpctestgen/cmd/speccheck@latest
24-
- name: Install staticcheck
25-
run: speccheck -v
24+
- name: Run staticcheck
25+
run: test -d tests && speccheck -v

0 commit comments

Comments
 (0)