Skip to content

Commit 2143dd9

Browse files
committed
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 <[email protected]>
1 parent 2c85d92 commit 2143dd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
working-directory: example-application
2323
run: |
2424
west init -l .
25-
west update
25+
west update -o=--depth=1 -n
2626
2727
- name: Build firmware
2828
working-directory: example-application

0 commit comments

Comments
 (0)