Skip to content

different sarif output produced on macOS latest #160

Closed
@kdudka

Description

@kdudka

The macOS latest CI job started to fail due to differences in the SARIF output produced in this environment:

--- /Users/runner/work/csdiff/csdiff/tests/csgrep/0080-sarif-writer-stdout.txt	2024-01-31 11:26:22.000000000 +0000
+++ -	2024-01-31 11:33:56.000000000 +0000
@@ -1,13 +1,11 @@
 {
     "$schema": "https://json.schemastore.org/sarif-2.1.0.json",
     "version": "",
-    "inlineExternalProperties": [
-        {
-            "externalizedProperties": {
-                "analyzer-version-snyk-code": "1.0.0"
-            }
+    "inlineExternalProperties": {
+        "externalizedProperties": {
+            "analyzer-version-snyk-code": "1.0.0"
         }
-    ],
+    },
     "runs": [
         {
             "tool": {

affected CI job: https://github.com/csutils/csdiff/actions/runs/7725324164/job/21059295165?pr=159

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions