Skip to content

Commit b664a49

Browse files
authored
ci: fetch all history and tags before building
This avoid the output "fatal: No names found, cannot describe anything" caused by `git describe --tags` in the Makefile.
1 parent d4698cd commit b664a49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v2
24+
with:
25+
fetch-depth: 0
2426

2527
- uses: actions/setup-go@v2
2628
with:

0 commit comments

Comments
 (0)