Skip to content

Commit 6445148

Browse files
committed
public sarif correctly
Signed-off-by: Anas Nashif <[email protected]>
1 parent cd38ab7 commit 6445148

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/eclair.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,13 @@ 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
110-
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
111+
jq -s '{ "$schema": "https://json.schemastore.org/sarif-2.1.0", "version": "2.1.0", "runs": map(.runs) | add }' $(find twister-out -name "reports.sarif") > results.sarif
111112
112113
ver=`git describe`
113114
echo "PAYLOAD_VERSION=${ver}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)