Преглед изворни кода

ci(go): fetch all tags so go-latest binary embeds correct version

gnacho пре 3 месеци
родитељ
комит
30a5ce68ac
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      .github/workflows/go.yml

+ 2 - 0
.github/workflows/go.yml

@@ -44,6 +44,8 @@ jobs:
         arch: [amd64, arm64]
     steps:
       - uses: actions/checkout@v4
+        with:
+          fetch-depth: 0 # tags necesarias para git describe (httpapi.Version)
 
       - uses: actions/setup-node@v4
         with: