This is an automated email from the ASF dual-hosted git repository.
tvb pushed a commit to branch tristan/test-workflows
in repository https://gitbox.apache.org/repos/asf/buildstream.git
The following commit(s) were added to refs/heads/tristan/test-workflows by this
push:
new a74dcb4 .github/workflows/ci.yml: Checkout using tags
a74dcb4 is described below
commit a74dcb49fb62c2213d41eec93929792cd28f39a7
Author: Tristan van Berkom <[email protected]>
AuthorDate: Mon Jan 4 00:00:08 2021 +0900
.github/workflows/ci.yml: Checkout using tags
---
.github/workflows/ci.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b99b0ce..e77b9a3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -143,6 +143,9 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v2
+ # BuildStream requires tags to be able to find its version.
+ with:
+ fetch-depth: 0
- name: Run tox inside a container
run: tox -e mypy
@@ -152,6 +155,9 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v2
+ # BuildStream requires tags to be able to find its version.
+ with:
+ fetch-depth: 0
- name: Run tox inside a container
run: tox -e format-check,lint