From 2dcb1280a57575621063308063b62e50b369e151 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Thu, 26 Oct 2023 17:27:15 +0100 Subject: [PATCH] ci: compliance: fetch only the last revision and skip tags Add some west update flags to do a shallow fetch of the modules and skip the tags. That data is not needed anyway, should make the compliance check initialization a bit faster. Signed-off-by: Fabio Baltieri --- .github/workflows/compliance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 59cfc40c264db7..cb4e1c00f7773c 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -45,7 +45,7 @@ jobs: git log --pretty=oneline | head -n 10 west init -l . || true west config manifest.group-filter -- +ci,+optional - west update 2>&1 1> west.update.log || west update 2>&1 1> west.update2.log + west update -o=--depth=1 -n 2>&1 1> west.update.log || west update -o=--depth=1 -n 2>&1 1> west.update2.log - name: Run Compliance Tests continue-on-error: true