From 2143dd9c0ba234dabd9819976acc0fea66314dcd Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Fri, 11 Aug 2023 23:32:36 +0000 Subject: [PATCH] ci: use shallow fetch and no tags Add a couple flags to west update to do shallow fetch for both the main repo and modules, and don't fetch any tags. Should speed things up a bit by only fetching the target version code for all modules. Signed-off-by: Fabio Baltieri --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aefcf75..a0e6042 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: working-directory: example-application run: | west init -l . - west update + west update -o=--depth=1 -n - name: Build firmware working-directory: example-application