I wanted to double check something about <https://...
# kotest
a
I wanted to double check something about https://github.com/kotest/kotest-action https://github.com/kotest/kotest-action/blob/79dfd4543ad68e55ad21e0a48f0fecf209106791/action.yml#L19-L21 this step actually downloads all commits and history
Copy code
-  uses: actions/checkout@v3
         with:
            fetch-depth: 0
https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
Number of commits to fetch. 0 indicates all history for all branches and tags
To me it doesn't seem right to check out all commits and history CI/CD pipeline, and I guess that it's set to 0 because of a misunderstanding, and that really it should be set to 1 (the default), which fetches only the last commit.
c
Have had to set that to zero on some projects that use git tags/branches for versioning. Not sure if that’s the case here.
a
Kotest's version is set manually https://github.com/kotest/kotest/blob/v5.6.1/buildSrc/src/main/kotlin/Ci.kt, but perhaps that's not true in the other Kotest repos that use kotest-action
s
It probably should be 1 yeah