Skip to content

Commit 451dca6

Browse files
committed
jq
Signed-off-by: Anas Nashif <[email protected]>
1 parent cd38ab7 commit 451dca6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/eclair.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,11 @@ jobs:
102102
- name: install-packages
103103
run: |
104104
pip install -r scripts/requirements-actions.txt --require-hashes
105+
sudo apt-get update
106+
sudo apt-get install -y jq
105107
106108
- name: Scan code with Eclair
107109
run: |
108-
sudo apt-get install -y jq
109110
./scripts/twister -j 16 -p qemu_x86 -T samples/synchronization -i --build-only -v -xZEPHYR_SCA_VARIANT=eclair -x=USE_CCACHE=0 -xECLAIR_REPORTS_SARIF=1
110111
jq -s '{ "$schema": "https://json.schemastore.org/sarif-2.1.0", "version": "2.1.0", "runs": map(.runs) | add }' $(find twister-out -name "reportst.sarif") > results.sarif
111112

0 commit comments

Comments
 (0)