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 <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-08-11 23:32:36 +00:00 committed by Fabio Baltieri
parent 2c85d9224f
commit 2143dd9c0b

View file

@ -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